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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index a5809a1a623..336ceb9d246 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -863,6 +863,10 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
863 if (local->ops->sched_scan_start) 863 if (local->ops->sched_scan_start)
864 local->hw.wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN; 864 local->hw.wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN;
865 865
866 /* mac80211 based drivers don't support internal TDLS setup */
867 if (local->hw.wiphy->flags & WIPHY_FLAG_SUPPORTS_TDLS)
868 local->hw.wiphy->flags |= WIPHY_FLAG_TDLS_EXTERNAL_SETUP;
869
866 result = wiphy_register(local->hw.wiphy); 870 result = wiphy_register(local->hw.wiphy);
867 if (result < 0) 871 if (result < 0)
868 goto fail_wiphy_register; 872 goto fail_wiphy_register;