summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2026-09-16 12:02:32 +0200
committerJohannes Berg <johannes.berg@intel.com>2026-09-21 10:51:28 +0200
commit94fe252cd763c3e09399dea3fd28e555090599f5 (patch)
treef72bdcffc31e9ed725832dbade137d120d5e729a /include/linux
parent8f076d9407f313ae641ef8e9ad241dade9006a91 (diff)
downloadlinux-next-94fe252cd763c3e09399dea3fd28e555090599f5.tar.gz
linux-next-94fe252cd763c3e09399dea3fd28e555090599f5.zip
wifi: ieee80211: fix FTM bufferable check
The FTM action frames don't have a protected dual, in fact their numbers are assigned otherwise. Remove the wrong check. Link: https://patch.msgid.link/20260916120232.d3c05305173e.I3855653e49311b0752b9fcdf9d5c6373408a14da@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ieee80211.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 26e674038865..7fbc51f873ff 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -2421,8 +2421,7 @@ static inline bool ieee80211_is_bufferable_mmpdu(struct sk_buff *skb)
/* action frame - additionally check for non-bufferable FTM */
- if (mgmt->u.action.category != WLAN_CATEGORY_PUBLIC &&
- mgmt->u.action.category != WLAN_CATEGORY_PROTECTED_DUAL_OF_ACTION)
+ if (mgmt->u.action.category != WLAN_CATEGORY_PUBLIC)
return true;
if (mgmt->u.action.action_code == WLAN_PUB_ACTION_FTM_REQUEST ||