diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2016-03-09 03:08:27 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-04-05 05:44:46 -0400 |
commit | f278ce4ffaaa2ee3adb957add3df7b41e6ecc1b3 (patch) | |
tree | c831bd0d6ab7f811c7cf0c3cd0e0320a8351aa9e /net/mac80211/main.c | |
parent | 2aa4d45635ad09fbd7ff6b6155d2d50b2b31cf90 (diff) |
mac80211: Set global RRM capability
Allow publishing RRM capabilities for features that are not
HW dependent.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 8190bf27ebff..815596140057 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -558,6 +558,8 @@ struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t priv_data_len, | |||
558 | if (!ops->set_key) | 558 | if (!ops->set_key) |
559 | wiphy->flags |= WIPHY_FLAG_IBSS_RSN; | 559 | wiphy->flags |= WIPHY_FLAG_IBSS_RSN; |
560 | 560 | ||
561 | wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_RRM); | ||
562 | |||
561 | wiphy->bss_priv_size = sizeof(struct ieee80211_bss); | 563 | wiphy->bss_priv_size = sizeof(struct ieee80211_bss); |
562 | 564 | ||
563 | local = wiphy_priv(wiphy); | 565 | local = wiphy_priv(wiphy); |