summaryrefslogtreecommitdiffstats
path: root/net/mac80211/fils_aead.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-04-18 10:52:26 +0200
committerJohannes Berg <johannes.berg@intel.com>2024-04-19 10:02:27 +0200
commitc53d8a59351e4347452e263e2e5d7446ec93da83 (patch)
tree0cd1d2b6e0bcd00410b9cd45e537f4029710ea70 /net/mac80211/fils_aead.h
parentcb55e08dba3526796e35d24a6d5db4ed6dcb8a4b (diff)
downloadlinux-stable-c53d8a59351e4347452e263e2e5d7446ec93da83.tar.gz
linux-stable-c53d8a59351e4347452e263e2e5d7446ec93da83.tar.bz2
linux-stable-c53d8a59351e4347452e263e2e5d7446ec93da83.zip
wifi: mac80211: fix unaligned le16 access
The AP removal timer field need not be aligned, so the code shouldn't access it directly, but use unaligned loads. Use get_unaligned_le16(), which even is shorter than the current code since it doesn't need a cast. Fixes: 8eb8dd2ffbbb ("wifi: mac80211: Support link removal using Reconfiguration ML element") Reviewed-by: Ilan Peer <ilan.peer@intel.com> Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com> Link: https://msgid.link/20240418105220.356788ba0045.I2b3cdb3644e205d5bb10322c345c0499171cf5d2@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/fils_aead.h')
0 files changed, 0 insertions, 0 deletions