Files
linux-stable-mirror/net/mac80211
Johannes Berg e5af9ce365 mac80211: fix radiotap vendor presence bitmap handling
[ Upstream commit efc38dd7d5 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-02-12 19:47:13 +01:00
..
2018-06-18 22:40:32 +02:00
2018-06-18 22:40:32 +02:00
2018-06-12 16:19:22 -07:00
2018-06-18 22:40:32 +02:00
2018-06-18 22:40:32 +02:00
…
…
…
2018-06-18 22:40:32 +02:00
…
2018-02-22 21:13:03 +01:00
…
…
…
2018-06-18 22:40:32 +02:00
…
…
2018-06-18 22:40:32 +02:00
…
…
…
2018-02-22 21:13:03 +01:00
…