mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
fix(wifi): Remove WPS IEs once WPS succeeds
This commit is contained in:
parent
9c6952f7b4
commit
1c5a84c369
@ -809,6 +809,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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user