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 коммит произвёл Johannes Berg
Родитель d0e6c21acd
Коммит c6036cfe90
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

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