Skip to content

Commit

Permalink
Merge branch 'fix/clear_cur_pmksa' into 'master'
Browse files Browse the repository at this point in the history
Clear current pmksa before generating RSN IE

Closes IDFGH-8952

See merge request espressif/esp-idf!21413
  • Loading branch information
jack0c committed Dec 21, 2022
2 parents 69dd383 + 2e8ebdc commit 9d6ff96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/wpa_supplicant/src/rsn_supp/wpa.c
Expand Up @@ -2448,6 +2448,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 ||
Expand Down

0 comments on commit 9d6ff96

Please sign in to comment.