summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-09-20 15:40:05 +0200
committerJohannes Berg <johannes.berg@intel.com>2021-09-23 13:25:09 +0200
commitb9731062ce8afd35cf723bf3a8ad55d208f915a5 (patch)
tree078ec7637a69b5731b099c5d6b6d907e82d8bea1 /drivers/net/wireless/mac80211_hwsim.c
parent13cb6d826e0ac0d144b0d48191ff1a111d32f0c6 (diff)
mac80211: mesh: fix potentially unaligned access
The pointer here points directly into the frame, so the access is potentially unaligned. Use get_unaligned_le16 to avoid that. Fixes: 3f52b7e328c5 ("mac80211: mesh power save basics") Link: https://lore.kernel.org/r/20210920154009.3110ff75be0c.Ib6a2ff9e9cc9bc6fca50fce631ec1ce725cc926b@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
0 files changed, 0 insertions, 0 deletions