diff options
author | Sven Eckelmann | 2016-02-24 16:25:49 +0100 |
---|---|---|
committer | Johannes Berg | 2016-04-05 10:58:16 +0200 |
commit | f66b60f6524c970d43af7a68dd50dcce289887e7 (patch) | |
tree | 37c10e7f54ba05aa31dfcaa882a1f8f6e622951e /net/mac80211/tdls.c | |
parent | 38de03d2a28925b489c11546804e2f5418cc17a4 (diff) |
mac80211: fix parsing of 40Mhz in injected radiotap header
The MCS bandwidth part of the radiotap header is 2 bits wide. The full 2
bit have to compared against IEEE80211_RADIOTAP_MCS_BW_40 and not only if
the first bit is set. Otherwise IEEE80211_RADIOTAP_MCS_BW_40 can be
confused with IEEE80211_RADIOTAP_MCS_BW_20U.
Fixes: dfdfc2beb0dd ("mac80211: Parse legacy and HT rate in injected frames")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/tdls.c')
0 files changed, 0 insertions, 0 deletions