]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
SAE: Accept FT and -EXT-KEY AKMs for external auth
authorJouni Malinen <quic_jouni@quicinc.com>
Sun, 16 Oct 2022 15:35:51 +0000 (18:35 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 16 Oct 2022 15:35:51 +0000 (18:35 +0300)
Use a full list of AKM suite selectors that can use SAE authentication
when checking for authentication trigger from the driver.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
wpa_supplicant/sme.c

index aa94e5c733559626e2eb7be7be9cdded9e63eb45..c9473947ad33432e447278371e9cd2284b160a8e 100644 (file)
@@ -1193,7 +1193,10 @@ static bool is_sae_key_mgmt_suite(u32 suite)
        if (RSN_SELECTOR_GET(&suite) == RSN_AUTH_KEY_MGMT_SAE)
                return true;
 
-       return suite == RSN_AUTH_KEY_MGMT_SAE;
+       return suite == RSN_AUTH_KEY_MGMT_SAE ||
+               suite == RSN_AUTH_KEY_MGMT_FT_SAE ||
+               suite == RSN_AUTH_KEY_MGMT_SAE_EXT_KEY ||
+               suite == RSN_AUTH_KEY_MGMT_FT_SAE_EXT_KEY;
 }