]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix VHT MCS calculation
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Mar 2013 16:33:18 +0000 (17:33 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 1 Mar 2013 18:20:25 +0000 (19:20 +0100)
commit8833f93012d8b1a167ffc096ed9e55450bed24bf
treedf93dfde818c78651882c8303095de0a23f0179f
parent265d782a3411d732fc67061d2a9078740d504fa5
mac80211: fix VHT MCS calculation

The VHT MCSes we advertise to the AP were supposed to
be restricted to the AP, but due to a bug in the logic
mac80211 will advertise rates to the AP that aren't
even supported by the local device. To fix this skip
any adjustment if the NSS isn't supported at all.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c