wifi: ieee80211: correctly mark FTM frames non-bufferable
authorJohannes Berg <johannes.berg@intel.com>
Fri, 31 Mar 2023 14:59:08 +0000 (16:59 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 21 May 2023 21:13:42 +0000 (23:13 +0200)
commitad1c72140c390cd07b7a1e5b694e6c96db341954
tree856c447bbf9bee356e28d11a45eaa2809550e626
parent21cd4007928a58c393bbdf263eb3c41388aa6bda
wifi: ieee80211: correctly mark FTM frames non-bufferable

The checks of whether or not a frame is bufferable were not
taking into account that some action frames aren't, such as
FTM. Check this, which requires some changes to the function
ieee80211_is_bufferable_mmpdu() since we need the whole skb
for the checks now.

Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/linux/ieee80211.h