summaryrefslogtreecommitdiff
path: root/net/mac80211/he.c
diff options
context:
space:
mode:
authorShaul Triebitz <shaul.triebitz@intel.com>2020-05-28 22:34:37 +0300
committerJohannes Berg <johannes.berg@intel.com>2020-05-31 12:26:59 +0300
commit3b3ec3d52e8f72ec8c40477b96f23440a89000be (patch)
treef77426206e331a0820cced9834505054c945bb27 /net/mac80211/he.c
parent57fa5e85d53ce51e0cb06a7f320b79377d0fbe5f (diff)
downloadlinux-3b3ec3d52e8f72ec8c40477b96f23440a89000be.tar.xz
mac80211: check the correct bit for EMA AP
An AP supporting EMA (Enhanced Multi-BSSID advertisement) should set bit 83 in the extended capabilities IE (9.4.2.26 in the 802.11ax D5 spec). So the *3rd* bit of the 10th byte should be checked. Also, in one place, the wrong byte was checked. (cfg80211_find_ie returns a pointer to the beginning of the IE, so the data really starts at ie[2], so the 10th byte should be ie[12]. To avoid this confusion, use cfg80211_find_elem instead). Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com> Link: https://lore.kernel.org/r/20200528213443.4316121fa2a3.I9745582f8d41ad8e689dac0fefcd70b276d7c1ea@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/he.c')
0 files changed, 0 insertions, 0 deletions