wifi: cfg80211: use system_unbound_wq for wiphy work
authorJohannes Berg <johannes.berg@intel.com>
Mon, 9 Oct 2023 08:18:01 +0000 (10:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 11 Oct 2023 14:36:12 +0000 (16:36 +0200)
commit91d20ab9d9ca035527af503d00e1e30d6c375f2a
treeaac117f0250ef65676f3f2cf761f0793ef1f7597
parentf291209eca5eba0b4704fa0832af57b12dbc1a02
wifi: cfg80211: use system_unbound_wq for wiphy work

Since wiphy work items can run pretty much arbitrary
code in the stack/driver, it can take longer to run
all of this, so we shouldn't be using system_wq via
schedule_work(). Also, we lock the wiphy (which is
the reason this exists), so use system_unbound_wq.

Reported-and-tested-by: Kalle Valo <kvalo@kernel.org>
Fixes: a3ee4dc84c4e ("wifi: cfg80211: add a work abstraction with special semantics")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c