wifi: mac80211: hold wiphy_lock around concurrency checks
authorJohannes Berg <johannes.berg@intel.com>
Mon, 28 Aug 2023 11:59:58 +0000 (13:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Sep 2023 09:27:21 +0000 (11:27 +0200)
commit7a53b71d8ebc67b1a23b0cc8dd8b8024e3af9d27
tree5de9a3633152bc81381e099c004621be93d3d89f
parent01ca280d323ef4a7e6732615b1faaa8877cc417f
wifi: mac80211: hold wiphy_lock around concurrency checks

We want to replace the locking in mac80211 by just the wiphy
mutex, so hold the lock here around concurrency checks for
the future where the chanctx_mtx used inside goes away.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c