fix(esp_wifi): Address some review comments

This commit is contained in:
Kapil Gupta
2024-12-21 11:33:47 +05:30
parent 2ecc3c3bc7
commit 80132653c7
4 changed files with 13 additions and 14 deletions

View File

@@ -292,6 +292,8 @@ static void wpa_sta_disconnected_cb(uint8_t reason_code)
case WIFI_REASON_ASSOC_FAIL:
case WIFI_REASON_CONNECTION_FAIL:
case WIFI_REASON_HANDSHAKE_TIMEOUT:
case WIFI_REASON_INVALID_MDE:
case WIFI_REASON_INVALID_FTE:
wpa_sta_clear_curr_pmksa();
wpa_sm_notify_disassoc(&gWpaSm);
break;