diff options
author | James Prestwood <prestwoj@gmail.com> | 2022-09-29 00:49:10 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-10-07 14:39:47 +0200 |
commit | b650009fcb701ea99aa133bbe18dbfc5305ddf1a (patch) | |
tree | 687fa3ef388894a2d9804dbaa2cd087759a2485b /drivers/net | |
parent | wifi: mac80211: do not drop packets smaller than the LLC-SNAP header on fast-rx (diff) | |
download | linux-b650009fcb701ea99aa133bbe18dbfc5305ddf1a.tar.xz linux-b650009fcb701ea99aa133bbe18dbfc5305ddf1a.zip |
wifi: mac80211: fix probe req HE capabilities access
When building the probe request IEs HE support is checked for
the 6GHz band (wiphy->bands[NL80211_BAND_6GHZ]). If supported
the HE capability IE should be included according to the spec.
The problem is the 16-bit capability is obtained from the
band object (sband) that was passed in, not the 6GHz band
object (sband6). If the sband object doesn't support HE it will
result in a warning.
Fixes: 7d29bc50b30e ("mac80211: always include HE 6GHz capability in probe request")
Signed-off-by: James Prestwood <prestwoj@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions