Skip to content

Commit

Permalink
mac80211_hwsim: advertise VHT support also when channels == 1
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Karl Beldan authored and Johannes Berg committed Apr 8, 2013
1 parent d0e6c21 commit c6036cf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/wireless/mac80211_hwsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit c6036cf

Please sign in to comment.