mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
Merge branch 'bugfix/wps_ie_reset_v50' into 'release/v5.0'
fix(wifi): Remove WPS IEs once WPS succeeds See merge request espressif/esp-idf!35081
This commit is contained in:
@ -821,6 +821,10 @@ int wps_finish(void)
|
||||
/* WPS finished, dequeue all timers */
|
||||
wps_delete_timer();
|
||||
|
||||
esp_wifi_unset_appie_internal(WIFI_APPIE_WPS_PR);
|
||||
esp_wifi_unset_appie_internal(WIFI_APPIE_WPS_AR);
|
||||
esp_wifi_set_wps_cb_internal(NULL);
|
||||
|
||||
if (sm->ap_cred_cnt == 1) {
|
||||
wifi_config_t *config = os_zalloc(sizeof(wifi_config_t));
|
||||
|
||||
|
Reference in New Issue
Block a user