summaryrefslogtreecommitdiffstats
path: root/include/linux/unaligned
diff options
context:
space:
mode:
authorJohannes Berg2018-12-15 10:03:12 +0100
committerJohannes Berg2018-12-19 09:39:01 +0100
commitefc38dd7d5fa5c8cdd0c917c5d00947aa0539443 (patch)
treee7fbb0034f47b241c21eb1f23fdc1ccb569d8c1b /include/linux/unaligned
parentmac80211: do not advertise HE cap IE if HE disabled (diff)
downloadkernel-qcow2-linux-efc38dd7d5fa5c8cdd0c917c5d00947aa0539443.tar.gz
kernel-qcow2-linux-efc38dd7d5fa5c8cdd0c917c5d00947aa0539443.tar.xz
kernel-qcow2-linux-efc38dd7d5fa5c8cdd0c917c5d00947aa0539443.zip
mac80211: fix radiotap vendor presence bitmap handling
Due to the alignment handling, it actually matters where in the code we add the 4 bytes for the presence bitmap to the length; the first field is the timestamp with 8 byte alignment so we need to add the space for the extra vendor namespace presence bitmap *before* we do any alignment for the fields. Move the presence bitmap length accounting to the right place to fix the alignment for the data properly. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/unaligned')
0 files changed, 0 insertions, 0 deletions