summaryrefslogtreecommitdiffstats
path: root/net/smc/smc_tx.h
diff options
context:
space:
mode:
authorMordechay Goodstein <mordechay.goodstein@intel.com>2019-05-29 15:25:31 +0300
committerJohannes Berg <johannes.berg@intel.com>2019-06-14 15:46:33 +0200
commit1a473d6092d5d182914bea854ce0b21e6d12519d (patch)
tree94a251b4a42d7e7b84d46948387cd78bf5b7e034 /net/smc/smc_tx.h
parentf8891461a277ec0afc493fd30cd975a38048a038 (diff)
downloadlinux-1a473d6092d5d182914bea854ce0b21e6d12519d.tar.bz2
cfg80211: util: fix bit count off by one
The bits of Rx MCS Map in VHT capability were enumerated with index transform - index i -> (i + 1) bit => nss i. BUG! while it should be - index i -> (i + 1) bit => (i + 1) nss. The bug was exposed in commit a53b2a0b1245 ("iwlwifi: mvm: implement VHT extended NSS support in rs.c"), where iwlwifi started using the function. Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com> Fixes: b0aa75f0b1b2 ("ieee80211: add new VHT capability fields/parsing") Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/smc/smc_tx.h')
0 files changed, 0 insertions, 0 deletions