wpa_supplicant: Fix PMK caching related regression

Fixed regression caused by commit bd55b8b7
This commit is contained in:
Shyamal Khachane 2022-12-19 17:31:37 +05:30
parent 11dee5d27f
commit 28fdafbca6

View File

@ -239,6 +239,7 @@ static void wpa_sta_disconnected_cb(uint8_t reason_code)
case WIFI_REASON_CONNECTION_FAIL:
case WIFI_REASON_HANDSHAKE_TIMEOUT:
esp_wpa3_free_sae_data();
wpa_sta_clear_curr_pmksa();
wpa_sm_notify_disassoc(&gWpaSm);
break;
default: