mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 02:19:26 +01:00
station: use IE_AKM_IS_FT when possible
Update a check to use IE_AKM_IS_FT as the condition is identical to the macro.
This commit is contained in:
parent
7fc0a8fc0f
commit
df04877a67
@ -865,11 +865,7 @@ build_ie:
|
||||
if (!handshake_state_set_supplicant_ie(hs, rsne_buf))
|
||||
goto not_supported;
|
||||
|
||||
if (info.akm_suites & (IE_RSN_AKM_SUITE_FT_OVER_8021X |
|
||||
IE_RSN_AKM_SUITE_FT_USING_PSK |
|
||||
IE_RSN_AKM_SUITE_FT_OVER_SAE_SHA256 |
|
||||
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256 |
|
||||
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384))
|
||||
if (IE_AKM_IS_FT(info.akm_suites))
|
||||
add_mde = true;
|
||||
|
||||
open_network:
|
||||
|
Loading…
Reference in New Issue
Block a user