wifi: cfg80211: check wiphy mutex is held for wdev mutex
authorJohannes Berg <johannes.berg@intel.com>
Mon, 28 Aug 2023 11:59:56 +0000 (13:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Sep 2023 09:27:21 +0000 (11:27 +0200)
commit1474bc87fe57deac726cc10203f73daa6c3212f7
tree521b7cd2c60048a7347c111121aa503f68b83544
parentfa8809a519d85f498f43fadaf82e10831f20625a
wifi: cfg80211: check wiphy mutex is held for wdev mutex

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>
net/wireless/core.h