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:
Hao Wu 2015-08-28 07:41:08 +00:00 committed by hwu1225
parent 678226f632
commit a5cb7c824e
2 changed files with 2 additions and 2 deletions

View File

@ -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 },

View File

@ -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);
}
/**