mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'bugfix/ft_enable_flag_set_check_v6.0' into 'release/v6.0'
fix(wifi) : Add ft enabled check for ft sae and added a separate check if AP... See merge request espressif/esp-idf!46190
This commit is contained in:
+1
-1
Submodule components/esp_wifi/lib updated: b9bc45aa8e...bb6d7baf16
@@ -412,6 +412,15 @@ static int wpa_supplicant_get_pmk(struct wpa_sm *sm,
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef CONFIG_WPA3_SAE
|
||||
#ifdef CONFIG_IEEE80211R
|
||||
if (sm && sm->pmksa && (sm->key_mgmt == WPA_KEY_MGMT_FT_SAE)) {
|
||||
os_memcpy(sm->xxkey, sm->pmk, sm->pmk_len);
|
||||
sm->xxkey_len = sm->pmk_len;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (pmkid && sm->cur_pmksa &&
|
||||
os_memcmp_const(pmkid, sm->cur_pmksa->pmkid, PMKID_LEN) == 0) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user