wifi: mac80211: don't drop all unprotected public action frames
authorAvraham Stern <avraham.stern@intel.com>
Mon, 16 Oct 2023 11:52:48 +0000 (14:52 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Oct 2023 11:25:30 +0000 (13:25 +0200)
commit91535613b6090fc968c601d11d4e2f16b333713c
tree10352145554b1093719fcb77b63217615345c4d5
parentc434b2be2d80d236bb090fdb493d4bd5ed589238
wifi: mac80211: don't drop all unprotected public action frames

Not all public action frames have a protected variant. When MFP is
enabled drop only public action frames that have a dual protected
variant.

Fixes: 76a3059cf124 ("wifi: mac80211: drop some unprotected action frames")
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231016145213.2973e3c8d3bb.I6198b8d3b04cf4a97b06660d346caec3032f232a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
net/mac80211/rx.c