wifi: cfg80211: move wowlan disable under locks
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Jun 2023 12:49:22 +0000 (14:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 7 Jun 2023 17:53:09 +0000 (19:53 +0200)
commita993df0f9143e63eca38c96a30daf08db99a98a3
treed499f9bda6869b3b4f9a3269ff785969bf886a7c
parent0dcb84ede5b0a99fc125df2f82ca1f539d41446d
wifi: cfg80211: move wowlan disable under locks

This is a driver callback, and the driver should be able
to assume that it's called with the wiphy lock held. Move
the call up so that's true, it has no other effect since
the device is already unregistering and we cannot reach
this function through other paths.

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