fix(esp_wifi): Prevent flushing of FT data mistakenly

This commit is contained in:
Kapil Gupta
2025-03-04 20:25:18 +05:30
parent 4f127f57e2
commit 1ee5551004
3 changed files with 8 additions and 10 deletions

View File

@@ -297,6 +297,10 @@ static void wpa_sta_disconnected_cb(uint8_t reason_code)
case WIFI_REASON_INVALID_FTE:
wpa_sta_clear_curr_pmksa();
wpa_sm_notify_disassoc(&gWpaSm);
#if defined(CONFIG_IEEE80211R)
/* clear all ft auth related IEs so that next will be open auth */
wpa_sta_clear_ft_auth_ie();
#endif
break;
default:
if (g_wpa_pmk_caching_disabled) {