commit d43f05224d871ee713e29531dc2259317a39a488
parent 96492483ee05e97330f7384c00b0e58d34114ca0
Author: Denis Kenzior <denkenz@gmail.com>
Date: Sat, 3 Aug 2024 22:14:23 -0500
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: bc7b12d1a4a7 ("wiphy: handle FILS AKMs")
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wiphy.c b/src/wiphy.c
@@ -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) &&