diff mbox series

mac80211: add s1g action frame in _ieee80211_is_robust_mgmt_frame

Message ID 20220622010820.17522-1-chui-hao.chiu@mediatek.com
State New
Headers show
Series mac80211: add s1g action frame in _ieee80211_is_robust_mgmt_frame | expand

Commit Message

Peter Chiu June 22, 2022, 1:08 a.m. UTC
S1g action frame with code 22 is not protected so update the robust
action frame list.

Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
---
 include/linux/ieee80211.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 5c65ae6b8..4c25207b3 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -4094,6 +4094,7 @@  static inline bool _ieee80211_is_robust_mgmt_frame(struct ieee80211_hdr *hdr)
 			*category != WLAN_CATEGORY_SELF_PROTECTED &&
 			*category != WLAN_CATEGORY_UNPROT_DMG &&
 			*category != WLAN_CATEGORY_VHT &&
+			*category != WLAN_CATEGORY_S1G &&
 			*category != WLAN_CATEGORY_VENDOR_SPECIFIC;
 	}