mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/wps_connection_issue_v4.4' into 'release/v4.4'
wpa_supplicant: Fix WPS connection issue after WPS done (v4.4) See merge request espressif/esp-idf!19720
This commit is contained in:
commit
954299a063
@ -2186,8 +2186,8 @@ int esp_wifi_wps_disable(void)
|
||||
wpa_printf(MSG_ERROR, "wps disable: failed to disable wps, ret=%d", ret);
|
||||
}
|
||||
|
||||
/* Only disconnect in case of WPS pending */
|
||||
if (wps_status == WPS_STATUS_PENDING) {
|
||||
/* Only disconnect in case of WPS pending/done */
|
||||
if ((wps_status == WPS_STATUS_PENDING) || (wps_status == WPS_STATUS_SUCCESS)) {
|
||||
esp_wifi_disconnect();
|
||||
}
|
||||
esp_wifi_set_wps_start_flag_internal(false);
|
||||
|
Loading…
Reference in New Issue
Block a user