summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2015-08-28 07:41:08 +0000
committerhwu1225 <hwu1225@Edk2>2015-08-28 07:41:08 +0000
commita5cb7c824e11942a1add7a0d5fdb9a8ab0ed287d (patch)
tree0e9e093eef94ca3b05ce7a0c991ce4941d946f92 /MdePkg
parent678226f632a7a369b36429afc9267f2774846ad8 (diff)
downloadedk2-platforms-a5cb7c824e11942a1add7a0d5fdb9a8ab0ed287d.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). 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
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);
}
/**