nl/cfg80211: force scan using an AP vif if requested
[deliverable/linux.git] / net / mac80211 / main.c
index ba5a2324977110109f11bb51697aa79bfff4cb28..c42094be2f0bccfca4411519673bc0f531a58164 100644 (file)
@@ -603,7 +603,9 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len,
                           NL80211_FEATURE_HT_IBSS;
 
        if (!ops->hw_scan)
-               wiphy->features |= NL80211_FEATURE_LOW_PRIORITY_SCAN;
+               wiphy->features |= NL80211_FEATURE_LOW_PRIORITY_SCAN |
+                                  NL80211_FEATURE_AP_SCAN;
+
 
        if (!ops->set_key)
                wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
This page took 0.027144 seconds and 5 git commands to generate.