aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 15f0e960fde8..964c267163a0 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -627,6 +627,9 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
627 local->hw.wiphy->interface_modes &= ~BIT(NL80211_IFTYPE_MESH_POINT); 627 local->hw.wiphy->interface_modes &= ~BIT(NL80211_IFTYPE_MESH_POINT);
628#endif 628#endif
629 629
630 /* mac80211 supports control port protocol changing */
631 local->hw.wiphy->flags |= WIPHY_FLAG_CONTROL_PORT_PROTOCOL;
632
630 if (local->hw.flags & IEEE80211_HW_SIGNAL_DBM) 633 if (local->hw.flags & IEEE80211_HW_SIGNAL_DBM)
631 local->hw.wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM; 634 local->hw.wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM;
632 else if (local->hw.flags & IEEE80211_HW_SIGNAL_UNSPEC) 635 else if (local->hw.flags & IEEE80211_HW_SIGNAL_UNSPEC)