Searched refs:pac_file_len (Results 1 – 2 of 2) sorted by relevance
1140 esp_err_t esp_wifi_sta_wpa2_ent_set_pac_file(const unsigned char *pac_file, int pac_file_len) in esp_wifi_sta_wpa2_ent_set_pac_file() argument1142 if (pac_file && pac_file_len > -1) { in esp_wifi_sta_wpa2_ent_set_pac_file()1143 if (pac_file_len < 512) { // The file contains less than 1 pac and is to be rewritten later in esp_wifi_sta_wpa2_ent_set_pac_file()1150 g_wpa_pac_file = (u8 *)os_zalloc(pac_file_len); in esp_wifi_sta_wpa2_ent_set_pac_file()1154 os_memcpy(g_wpa_pac_file, pac_file, pac_file_len); in esp_wifi_sta_wpa2_ent_set_pac_file()1155 g_wpa_pac_file_len = pac_file_len; in esp_wifi_sta_wpa2_ent_set_pac_file()
233 esp_err_t esp_wifi_sta_wpa2_ent_set_pac_file(const unsigned char *pac_file, int pac_file_len);