fix(wifi) : Add ft enabled check for ft sae and added a separate check if AP doesnt include PMKID in 1/4 handshake message

- Add a separate condition if AP doesnt include PMKID in FT-SAE for 1/4 handshake message
This commit is contained in:
tarun.kumar
2026-02-18 13:03:32 +05:30
parent f3ee799482
commit e56cbd09b6
2 changed files with 10 additions and 1 deletions
@@ -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) {