/* Find a network profile through its' SSId and securit type, and the SSId is an ascii string. */
WIFI_MGR_NETWORK_PROFILE* WifiMgrGetProfileByAsciiSSId(IN CHAR8 *SSId, IN UINT8 SecurityType, IN LIST_ENTRY *ProfileList)
/* Find a network profile through its' SSId and securit type, and the SSId is an ascii string. */
WIFI_MGR_NETWORK_PROFILE* WifiMgrGetProfileByAsciiSSId(IN CHAR8 *SSId, IN UINT8 SecurityType, IN LIST_ENTRY *ProfileList)
{
  CHAR16  SSIdUniCode[SSID_STORAGE_SIZE];
  if (SSId == NULL) {
    return NULL;
  }
  if (AsciiStrToUnicodeStrS (SSId, SSIdUniCode, SSID_STORAGE_SIZE) != RETURN_SUCCESS) {
    return NULL;
  }
  return WifiMgrGetProfileByUnicodeSSId (SSIdUniCode, SecurityType, ProfileList);
}