diff options
author | Karl Beldan <karl.beldan@rivierawaves.com> | 2013-03-25 19:26:59 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-08 11:16:54 +0400 |
commit | c6036cfe90c689b8d3407efce2b24c1b100464a2 (patch) | |
tree | 2b21ac1e91250ecb3592df68f002a17d24ce850b /drivers/net/wireless/mac80211_hwsim.c | |
parent | d0e6c21acdd4f38ad8c9644f6321b4746e18e121 (diff) | |
download | linux-c6036cfe90c689b8d3407efce2b24c1b100464a2.tar.xz |
mac80211_hwsim: advertise VHT support also when channels == 1
Drivers can now advertise VHT support even if they don't use channel
contexts.
Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 4ac54861e912..70b6ce61fea9 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -2310,9 +2310,6 @@ static int __init init_mac80211_hwsim(void) hw->wiphy->bands[band] = sband; - if (channels == 1) - continue; - sband->vht_cap.vht_supported = true; sband->vht_cap.cap = IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_11454 | |