From: Hao Wu Date: Fri, 28 Aug 2015 07:41:08 +0000 (+0000) Subject: MdePkg: Modify string expression of Wi-Fi device path to follow UEFI spec X-Git-Tag: edk2-stable201903~8939 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=a5cb7c824e11942a1add7a0d5fdb9a8ab0ed287d 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 Reviewed-by: Feng Tian git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18354 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c b/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c index 2dccfcf472..9c5436d337 100644 --- a/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c +++ b/MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c @@ -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 }, diff --git a/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c b/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c index 08cc3e87f2..0774fd8c17 100644 --- a/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c +++ b/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c @@ -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); } /**