wifi: cfg80211: sme: hold wiphy lock for wdev iteration
authorJohannes Berg <johannes.berg@intel.com>
Mon, 28 Aug 2023 11:59:54 +0000 (13:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Sep 2023 09:27:21 +0000 (11:27 +0200)
commitbeb2df475b7cfcc3e107afb4dd2a031bc34fe416
treec4ccc793c138f7d57b3fd55b88218dabb25a581d
parent0320d68f568126f617a346f601a58254b55e6c31
wifi: cfg80211: sme: hold wiphy lock for wdev iteration

Since we will want to remove the wdev lock in the future,
lock the wiphy here to iterate and for checking the status
of the connections.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/sme.c