wpa_supplicant: Clear current pmksa before generating RSN IE

Also update wifi libs with below changes -
  - Fix reason codes for Invalid PMKID
  - Fix handling of Assoc Resp status codes for Station
This commit is contained in:
Shyamal Khachane
2022-12-19 16:36:11 +05:30
committed by Jack
parent 25eb1f0c6e
commit 823b6c8f56
2 changed files with 2 additions and 1 deletions

View File

@ -2458,6 +2458,7 @@ int wpa_set_bss(char *macddr, char * bssid, u8 pairwise_cipher, u8 group_cipher,
memcpy(sm->bssid, bssid, ETH_ALEN);
sm->ap_notify_completed_rsne = esp_wifi_sta_is_ap_notify_completed_rsne_internal();
sm->use_ext_key_id = (sm->proto == WPA_PROTO_WPA);
pmksa_cache_clear_current(sm);
if (sm->key_mgmt == WPA_KEY_MGMT_SAE ||
sm->key_mgmt == WPA_KEY_MGMT_OWE ||