wifi: cfg80211: check wiphy mutex is held for wdev mutex

[ Upstream commit 1474bc87fe ]

This might seem pretty pointless rather than changing the locking
immediately, but it seems safer to run for a while with checks and
the old locking scheme, and then remove the wdev lock later.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Johannes Berg 2023-08-28 13:59:56 +02:00 • committed by Greg Kroah-Hartman
commit 89795eeba6