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>
This commit is contained in:
Karl Beldan 2013-03-25 16:26:59 +01:00 committed by Johannes Berg
parent d0e6c21acd
commit c6036cfe90
1 changed files with 0 additions and 3 deletions

View File

@ -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 |