aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rt2x00/rt2800lib.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-11-09 16:03:22 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-11 17:09:18 -0500
commite5d6eb8305a4c116fc94ce28b8136c538c92442f (patch)
tree574cea8cb9ce8cb52c07a2c39c9d91248bd4027f /drivers/net/wireless/rt2x00/rt2800lib.c
parentb34e620faa843d746400e324580e9a9efd457e4d (diff)
mac80211: fix max HT rate processing on mac80211
The max MCS index is 76, fix the higher check to allow through frames received at MCS 76. This is a non-issue for current drivers as MCS 76 is only possible with a device supporting 4 spatial streams. While at it change the WARN_ON() on invalid HT rates to a WARN() to provide more useful information. This will help debug issues when the driver is passing up a bogus HT rate value. The rate must map to a valid MCS index which can be any of the values in the set [0 - 76] (inclusive). Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.c')
0 files changed, 0 insertions, 0 deletions