mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-01 22:34:07 +01:00
wiphy: allow both FILS-FT AKMs to be chosen
This commit is contained in:
parent
7f7a5c861d
commit
5ca4fa9b9e
10
src/wiphy.c
10
src/wiphy.c
@ -117,6 +117,16 @@ enum ie_rsn_akm_suite wiphy_select_akm(struct wiphy *wiphy,
|
||||
if (security == SECURITY_8021X) {
|
||||
if (wiphy_has_feature(wiphy, NL80211_EXT_FEATURE_FILS_STA) &&
|
||||
fils_capable_hint) {
|
||||
if ((info.akm_suites &
|
||||
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384) &&
|
||||
bss->rsne && bss->mde_present)
|
||||
return IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384;
|
||||
|
||||
if ((info.akm_suites &
|
||||
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256) &&
|
||||
bss->rsne && bss->mde_present)
|
||||
return IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256;
|
||||
|
||||
if (info.akm_suites & IE_RSN_AKM_SUITE_FILS_SHA384)
|
||||
return IE_RSN_AKM_SUITE_FILS_SHA384;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user