mirror of https://github.com/acidanthera/audk.git
120fd64781
Issue : We were setting MediaPresent as TRUE (default) and not checking return status of NetLibDetectMedia(). NetLibDetectMedia() sets MediaPresent FLAG in case of success only and dont change flag on error. So, Media State will display as 'Media Present', in case of error also. Fix : Check return value of NetLibDetectMedia(), if error then print "Media State Unknown" Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> |
||
---|---|---|
.. | ||
Ifconfig.c | ||
Ping.c | ||
UefiShellNetwork1CommandsLib.c | ||
UefiShellNetwork1CommandsLib.h | ||
UefiShellNetwork1CommandsLib.inf | ||
UefiShellNetwork1CommandsLib.uni |