mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 12:44:33 +02:00
Merge branch 'bugfix/sta_set_extra_ies_for_open_AP' into 'master'
esp_wifi: STA set extra IEs for open AP Closes WIFI-5012 See merge request espressif/esp-idf!21292
This commit is contained in:
@@ -88,6 +88,8 @@ int wpa_config_profile(uint8_t *bssid)
|
||||
wpa_set_profile(WPA_PROTO_RSN, esp_wifi_sta_get_prof_authmode_internal());
|
||||
} else if (esp_wifi_sta_prof_is_wapi_internal()) {
|
||||
wpa_set_profile(WPA_PROTO_WAPI, esp_wifi_sta_get_prof_authmode_internal());
|
||||
} else if (esp_wifi_sta_get_prof_authmode_internal() == NONE_AUTH) {
|
||||
esp_set_assoc_ie((uint8_t *)bssid, NULL, 0, false);
|
||||
} else {
|
||||
ret = -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user