aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-03-25 09:09:19 +0100
committerJohannes Berg <johannes.berg@intel.com>2020-03-25 09:59:16 +0100
commit575a97acc3b7446094b0dcaf6285c7c6934c2477 (patch)
treeba657df053dd6e847e13c4fa2987172ee0b346f9 /net/mac80211
parentnl80211: fix NL80211_ATTR_CHANNEL_WIDTH attribute type (diff)
downloadwireguard-linux-575a97acc3b7446094b0dcaf6285c7c6934c2477.tar.xz
wireguard-linux-575a97acc3b7446094b0dcaf6285c7c6934c2477.zip
ieee80211: fix HE SPR size calculation
The he_sr_control field is just a u8, so le32_to_cpu() shouldn't be applied to it; this was evidently copied from ieee80211_he_oper_size(). Fix it, and also adjust the type of the local variable. Fixes: ef11a931bd1c ("mac80211: HE: add Spatial Reuse element parsing support") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Link: https://lore.kernel.org/r/20200325090918.dfe483b49e06.Ia53622f23b2610a2ae6ea39a199866196fe946c1@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions