]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: cfg80211: restrict operation during radar detection
authorJohannes Berg <johannes.berg@intel.com>
Mon, 6 May 2024 19:11:59 +0000 (21:11 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2024 09:28:48 +0000 (11:28 +0200)
commit2d33ecf5d0148671c74e68e18755b9411a7ba923
tree813ac93b17321a38d76a7d06cbbd42da6e77698e
parentce9e660ef32e87441bf59b04f67a24113e82546a
wifi: cfg80211: restrict operation during radar detection

Just like it's not currently possible to start radar
detection while already operating, it shouldn't be
possible to start operating while radar detection is
running. Fix that.

Also, improve the check whether operating (carrier
might not be up if e.g. attempting to join IBSS).

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240506211158.ae8dca3d0d6c.I7c70a66a5fbdbc63a78fee8a34f31d1995491bc3@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/ibss.c
net/wireless/mesh.c
net/wireless/nl80211.c