fix(wifi): Add bugfix to avoid RSNXE and KDE mismatch during 4-way-handshake

This commit is contained in:
Sarvesh Bodakhe
2024-04-02 02:01:33 +05:30
committed by Kapil Gupta
parent 95b522a1be
commit d97c8ed1b1
2 changed files with 2 additions and 0 deletions

View File

@@ -368,6 +368,7 @@ static bool hostap_sta_join(void **sta, u8 *bssid, u8 *wpa_ie, u8 wpa_ie_len, u8
#endif /* CONFIG_SAE */
if (!esp_wifi_ap_is_sta_sae_reauth_node(bssid)) {
ap_free_sta(hapd, old_sta);
*sta = NULL;
}
#ifdef CONFIG_SAE
else if (old_sta && old_sta->lock) {