wifi: mac80211: don't connect to an AP while it's in a CSA process
authorAyala Beker <ayala.beker@intel.com>
Wed, 20 Sep 2023 18:25:14 +0000 (21:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Sep 2023 07:12:32 +0000 (09:12 +0200)
commitc09c4f31998bac6d73508e38812518aceb069b68
tree9932dc1982a7c950a6524ef2b2add849905698b6
parent2bf57b00abecb2646bb3a387cfc9e6980658cdb5
wifi: mac80211: don't connect to an AP while it's in a CSA process

Connection to an AP that is running a CSA flow may end up with a
failure as the AP might change its channel during the connection
flow while we do not track the channel change yet.
Avoid that by rejecting a connection to such an AP.

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230920211508.e5001a762a4a.I9745c695f3403b259ad000ce94110588a836c04a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c