diff options
| author | Mordechay Goodstein <[email protected]> | 2019-05-29 12:25:31 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2019-06-14 13:46:33 +0000 |
| commit | 1a473d6092d5d182914bea854ce0b21e6d12519d (patch) | |
| tree | 94a251b4a42d7e7b84d46948387cd78bf5b7e034 /net/lapb/lapb_iface.c | |
| parent | mac80211: do not start any work during reconfigure flow (diff) | |
| download | kernel-1a473d6092d5d182914bea854ce0b21e6d12519d.tar.gz kernel-1a473d6092d5d182914bea854ce0b21e6d12519d.zip | |
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 <[email protected]>
Fixes: b0aa75f0b1b2 ("ieee80211: add new VHT capability fields/parsing")
Signed-off-by: Luca Coelho <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
