/* Converts a Wi-Fi device path structure to its string representative. */
VOID DevPathToTextWiFi(IN OUT POOL_PRINT *Str, IN VOID *DevPath, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts)
/* Converts a Wi-Fi device path structure to its string representative. */
VOID DevPathToTextWiFi(IN OUT POOL_PRINT *Str, IN VOID *DevPath, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts)
{
  WIFI_DEVICE_PATH  *WiFi;
  UINT8             SSId[33];
  WiFi = DevPath;
  SSId[32] = '\0';
  CopyMem (SSId, WiFi->SSId, 32);
  UefiDevicePathLibCatPrint (Str, L"Wi-Fi(%a)", SSId);
}