]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: cfg80211: move wowlan disable under locks
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Jun 2023 12:49:22 +0000 (14:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Oct 2023 20:00:39 +0000 (22:00 +0200)
commit2ae4585f740af2123d71a3ab0048d70a20911362
treee3479b0650c6d5ae07b78dd88c136dfacd4f4142
parentfb195ff4183a415f58fcfb2f2ceadbe040df6acc
wifi: cfg80211: move wowlan disable under locks

[ Upstream commit a993df0f9143e63eca38c96a30daf08db99a98a3 ]

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>
Stable-dep-of: 37c20b2effe9 ("wifi: cfg80211: fix cqm_config access race")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/wireless/core.c