diff --git a/src/wiphy.c b/src/wiphy.c index fb36ebb2..6b755ff8 100644 --- 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) &&