mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(wifi) : Preserve SSID and authmode across disconnect for blacklist recovery
This commit is contained in:
@@ -608,8 +608,6 @@ static void roaming_app_set_disconnected_state(const wifi_event_sta_disconnected
|
|||||||
g_roaming_app.current_bss.btm_support = false;
|
g_roaming_app.current_bss.btm_support = false;
|
||||||
g_roaming_app.current_bss.rrm_support = false;
|
g_roaming_app.current_bss.rrm_support = false;
|
||||||
g_roaming_app.current_bss.ap.rssi = -128;
|
g_roaming_app.current_bss.ap.rssi = -128;
|
||||||
g_roaming_app.current_bss.ap.authmode = WIFI_AUTH_OPEN;
|
|
||||||
memset(g_roaming_app.current_bss.ap.ssid, 0, sizeof(g_roaming_app.current_bss.ap.ssid));
|
|
||||||
|
|
||||||
if (disconn) {
|
if (disconn) {
|
||||||
memcpy(g_roaming_app.current_bss.ap.bssid, disconn->bssid, ETH_ALEN);
|
memcpy(g_roaming_app.current_bss.ap.bssid, disconn->bssid, ETH_ALEN);
|
||||||
|
|||||||
Reference in New Issue
Block a user