]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: cfg80211: Add wiphy_delayed_work_pending()
authorRemi Pommarel <repk@triplefau.lt>
Tue, 24 Sep 2024 19:28:04 +0000 (21:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 8 Oct 2024 19:24:00 +0000 (21:24 +0200)
commit68d0021fe7231eec0fb84cd110cf62a6e782b72d
tree6232bd02431d7a2d260470e35489d7bffea333b1
parente1a9ae3a73810c00e492485fdbae09f0dccb057e
wifi: cfg80211: Add wiphy_delayed_work_pending()

Add wiphy_delayed_work_pending() to check if any delayed work timer is
pending, that can be used to be sure that wiphy_delayed_work_queue()
won't postpone an already pending delayed work.

Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Link: https://patch.msgid.link/20240924192805.13859-2-repk@triplefau.lt
[fix return value kernel-doc]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/core.c