mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
wiphy: Fix use of wiphy_has_feature
Features with the _EXT_ in the name must be queried using the
wiphy_has_ext_feature method.
Fixes: bc7b12d1a4
("wiphy: handle FILS AKMs")
This commit is contained in:
parent
96492483ee
commit
d43f05224d
@ -276,7 +276,7 @@ enum ie_rsn_akm_suite wiphy_select_akm(struct wiphy *wiphy,
|
||||
* for fast transitions. Otherwise use SHA256 version if present.
|
||||
*/
|
||||
if (security == SECURITY_8021X) {
|
||||
if (wiphy_has_feature(wiphy, NL80211_EXT_FEATURE_FILS_STA) &&
|
||||
if (wiphy_has_ext_feature(wiphy, NL80211_EXT_FEATURE_FILS_STA) &&
|
||||
fils_capable_hint) {
|
||||
if ((info->akm_suites &
|
||||
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384) &&
|
||||
|
Loading…
Reference in New Issue
Block a user