wifi: mac80211: unregister netdevs through cfg80211
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Jun 2023 12:49:27 +0000 (14:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 7 Jun 2023 17:53:21 +0000 (19:53 +0200)
commita3df43b16fc49213ab4b925711d4725e1e2f2305
tree456e9be1559a859c560e265a7ffc193d2ce4d491
parent16114496d684a3df4ce09f7c6b7557a8b2922795
wifi: mac80211: unregister netdevs through cfg80211

Since we want to have wiphy_lock() for the unregistration
in the future, unregister also netdevs via cfg80211 now
to be able to hold the wiphy_lock() for it.

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