SAE: Require PMKID match to PMKSA with SAE-EXT-KEY

This check was supposed to be done for all SAE cases other than FT
roaming.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2023-11-11 23:44:52 +02:00
parent 86c0fbb6fb
commit 30748d2b3f

View file

@ -1014,7 +1014,8 @@ wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth,
} }
#ifdef CONFIG_SAE #ifdef CONFIG_SAE
if (sm->wpa_key_mgmt == WPA_KEY_MGMT_SAE) { if (sm->wpa_key_mgmt == WPA_KEY_MGMT_SAE ||
sm->wpa_key_mgmt == WPA_KEY_MGMT_SAE_EXT_KEY) {
u64 drv_flags = 0; u64 drv_flags = 0;
u64 drv_flags2 = 0; u64 drv_flags2 = 0;
bool ap_sae_offload = false; bool ap_sae_offload = false;