summaryrefslogtreecommitdiff
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-03-25 11:09:19 +0300
committerJohannes Berg <johannes.berg@intel.com>2020-03-25 11:59:16 +0300
commit575a97acc3b7446094b0dcaf6285c7c6934c2477 (patch)
treeba657df053dd6e847e13c4fa2987172ee0b346f9 /net/mac80211/tx.c
parent0016d3201753b59f3ae84b868fe66c86ad256f19 (diff)
downloadlinux-575a97acc3b7446094b0dcaf6285c7c6934c2477.tar.xz
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/tx.c')
0 files changed, 0 insertions, 0 deletions