mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-01 17:40:57 +02:00
Merge branch 'fix/wpsreg_crash_due_to_double_reset' into 'master'
fix(wifi): Fix crash in WPS-registrar due to nested 'eap_wsc_reset()' calls Closes WIFIBUG-1342 See merge request espressif/esp-idf!40751
This commit is contained in:
@@ -104,6 +104,7 @@ static void eap_wsc_reset(struct eap_sm *sm, void *priv)
|
||||
//wps_deinit(data->wps);
|
||||
os_free(data);
|
||||
#ifdef ESP_SUPPLICANT
|
||||
sm->eap_method_priv = NULL;
|
||||
/* TODO: When wps-registrar is shifted in a separate task other than wifi task,
|
||||
* call esp_wifi_ap_wps_disable() here instead of wifi_ap_wps_disable_internal()
|
||||
* */
|
||||
|
Reference in New Issue
Block a user