wifi: cfg80211: add flush functions for wiphy work
authorJohannes Berg <johannes.berg@intel.com>
Mon, 28 Aug 2023 11:59:33 +0000 (13:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:58:54 +0000 (11:58 +0100)
commit5d9eefa23bd9b0bddc74132753352b9d63f5ac01
treec653e6bd39fa4b5f51d920d5c5190b0a768c53a8
parent2b9157d41e221dbdd76a668890d1b44f272665a8
wifi: cfg80211: add flush functions for wiphy work

[ Upstream commit 56cfb8ce1f7f6c4e5ca571a2ec0880e131cd0311 ]

There may be sometimes reasons to actually run the work
if it's pending, add flush functions for both regular and
delayed wiphy work that will do this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Stable-dep-of: eadfb54756ae ("wifi: mac80211: move sched-scan stop work to wiphy work")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/cfg80211.h
net/wireless/core.c
net/wireless/core.h
net/wireless/sysfs.c