summaryrefslogtreecommitdiff
path: root/net/mac80211/link.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-08-28 14:59:43 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-09-11 12:27:20 +0300
commit7206a948715414371a285db8f1aab050f7a3941e (patch)
tree7317aa52e60ac7fdde09b8ec9f9b1fb6c75748fc /net/mac80211/link.c
parent97c19e42b264e6b71a9ff9deea04c19f621805b9 (diff)
downloadlinux-7206a948715414371a285db8f1aab050f7a3941e.tar.xz
wifi: mac80211: move link activation work to wiphy work
We want to have the wiphy locked for these as well, so move it to be a wiphy work. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/link.c')
-rw-r--r--net/mac80211/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/link.c b/net/mac80211/link.c
index 748d222e8d3d..bcff8a909405 100644
--- a/net/mac80211/link.c
+++ b/net/mac80211/link.c
@@ -512,6 +512,6 @@ void ieee80211_set_active_links_async(struct ieee80211_vif *vif,
return;
sdata->desired_active_links = active_links;
- schedule_work(&sdata->activate_links_work);
+ wiphy_work_queue(sdata->local->hw.wiphy, &sdata->activate_links_work);
}
EXPORT_SYMBOL_GPL(ieee80211_set_active_links_async);