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:
parent
d0e6c21acd
commit
c6036cfe90
|
@ -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 |
|
||||
|
|
Loading…
Reference in New Issue