Merge branch 'bugfix/sta_set_extra_ies_for_open_AP_v4.4' into 'release/v4.4'

esp_wifi: STA set extra IEs for open AP v4.4

See merge request espressif/esp-idf!21363
This commit is contained in:
Jiang Jiang Jian 2022-12-02 16:00:31 +08:00
commit 3dcb9cf8ec

View File

@ -175,6 +175,8 @@ int wpa_sta_connect(uint8_t *bssid)
wpa_printf(MSG_DEBUG, "Rejecting bss, validation failed");
return ret;
}
} else if (esp_wifi_sta_get_prof_authmode_internal() == NONE_AUTH) {
esp_set_assoc_ie((uint8_t *)bssid, NULL, 0, false);
}
return 0;