summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2015-08-28 07:51:16 +0000
committerhwu1225 <hwu1225@Edk2>2015-08-28 07:51:16 +0000
commit6896bb7f4e9c2d81c5121ff94e7b931d5764249e (patch)
tree1a86406f7d538c827ad4e80b3a94c681c6528068 /MdePkg
parent8a4fbdefadaba444a44a8b3ac6f117d3e2d6cf2a (diff)
downloadedk2-platforms-6896bb7f4e9c2d81c5121ff94e7b931d5764249e.tar.xz
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). (Sync patch r18354 from main trunk.) 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/branches/UDK2015@18357 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c2
-rw-r--r--MdePkg/Library/UefiDevicePathLib/DevicePathToText.c2
2 files changed, 2 insertions, 2 deletions
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);
}
/**