Reviewed-by: Feng Tian <[email protected]>

-----Original Message-----
From: Wu, Hao A 
Sent: Thursday, August 27, 2015 14:13
To: [email protected]; Tian, Feng; Gao, Liming
Cc: Wu, Hao A
Subject: [PATCH] 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 <[email protected]>
---
 MdePkg/Library/UefiDevicePathLib/DevicePathToText.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c 
b/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c
index f236a1e..20d8812 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);
 }
 
 /**
--
1.9.5.msysgit.0

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to