mirror of https://github.com/acidanthera/audk.git
MdePkg: Modify string expression of Wi-Fi device path to follow UEFI spec
According to UEFI 2.5 spec, the string expression of a Wi-Fi device node should be displayed as: Wi-Fi(SSID). However, current code displays it as: WiFi(SSID). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18354 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
678226f632
commit
a5cb7c824e
|
@ -3519,7 +3519,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED DEVICE_PATH_FROM_TEXT_TABLE mUefiDevicePathLibDevP
|
|||
{L"Vlan", DevPathFromTextVlan },
|
||||
{L"Uri", DevPathFromTextUri },
|
||||
{L"Bluetooth", DevPathFromTextBluetooth },
|
||||
{L"WiFi", DevPathFromTextWiFi },
|
||||
{L"Wi-Fi", DevPathFromTextWiFi },
|
||||
{L"MediaPath", DevPathFromTextMediaPath },
|
||||
{L"HD", DevPathFromTextHD },
|
||||
{L"CDROM", DevPathFromTextCDROM },
|
||||
|
|
|
@ -1618,7 +1618,7 @@ DevPathToTextWiFi (
|
|||
WIFI_DEVICE_PATH *WiFi;
|
||||
|
||||
WiFi = DevPath;
|
||||
UefiDevicePathLibCatPrint (Str, L"WiFi(%a)", WiFi->SSId);
|
||||
UefiDevicePathLibCatPrint (Str, L"Wi-Fi(%a)", WiFi->SSId);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue