aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamon Fontes <[email protected]>2020-05-15 13:46:40 -0300
committerJohannes Berg <[email protected]>2020-05-27 10:03:27 +0200
commit119aadf816f5373dc82ca4109d6d5b777e00475b (patch)
treef440196ce1526ffe1fa79fc022c85999920cd8d9
parentc11299243370580832c27882dcedf2604f9f48f8 (diff)
mac80211_hwsim: report the WIPHY_FLAG_SUPPORTS_5_10_MHZ capability
Signed-off-by: Ramon Fontes <[email protected]> Link: https://lore.kernel.org/r/[email protected] [fix indentation to use tabs] Signed-off-by: Johannes Berg <[email protected]>
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index f4ded2f2ee3b..1356e8cbe617 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -3054,6 +3054,7 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS |
WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL |
WIPHY_FLAG_AP_UAPSD |
+ WIPHY_FLAG_SUPPORTS_5_10_MHZ |
WIPHY_FLAG_HAS_CHANNEL_SWITCH;
hw->wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR |
NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE |