mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-26 02:02:02 +00:00
fix(esp_wifi): Stops roaming app upon application initiated disconnect
Stops roaming app when the application initiates a disconnect. Roaming app if enabled will be restarted when the station reconnects again.
This commit is contained in:
@@ -481,6 +481,7 @@ int esp_supplicant_init(void)
|
||||
#ifdef CONFIG_OWE_STA
|
||||
esp_wifi_register_owe_cb(wpa_cb);
|
||||
#endif /* CONFIG_OWE_STA */
|
||||
|
||||
eloop_init();
|
||||
ret = esp_supplicant_common_init(wpa_cb);
|
||||
|
||||
@@ -494,10 +495,6 @@ int esp_supplicant_init(void)
|
||||
ret = esp_wifi_internal_wapi_init();
|
||||
#endif
|
||||
|
||||
#if CONFIG_ESP_WIFI_ENABLE_ROAMING_APP
|
||||
init_roaming_app();
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user