wifi: mac80211: drop robust action frames before assoc
authorJohannes Berg <johannes.berg@intel.com>
Sun, 1 Oct 2023 10:01:09 +0000 (13:01 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Oct 2023 10:56:33 +0000 (12:56 +0200)
commitf3bd5932780091e214959ffdb1d91032ea4744be
tree19f1cb670849856a69af7e9ac9422d268e0dca6c
parente4e7e3af73694380f0d9a742d13b80598a3393e9
wifi: mac80211: drop robust action frames before assoc

To be able to more easily understand the code, drop robust
action frames before being associated, even if there's no
MFP in the end, as they are Class 3 Frames and shouldn't
be transmitted in the first place.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231001125722.b2fd37083371.Ie9f4906e2f6c698989bce6681956ed2f9454f27c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c