aboutsummaryrefslogtreecommitdiff
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorGravatar Shaul Triebitz <shaul.triebitz@intel.com> 2022-06-02 15:08:16 +0300
committerGravatar Johannes Berg <johannes.berg@intel.com> 2022-06-20 12:57:08 +0200
commitae7ba17b49b6707e62f31643dda25592c29482f8 (patch)
tree5335b1bf83ea5f4f45fac2cb373d538a77dddf8b /net/mac80211/cfg.c
parentwifi: mac80211: use link in start/stop ap (diff)
downloadlinux-ae7ba17b49b6707e62f31643dda25592c29482f8.tar.gz
linux-ae7ba17b49b6707e62f31643dda25592c29482f8.tar.bz2
linux-ae7ba17b49b6707e62f31643dda25592c29482f8.zip
wifi: mac80211: pass the link id in start/stop ap
In start_ap and stop_ap mac80211 callbacks pass the link_id to the drivers. Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index f1ee73d96dfb..009f1723c990 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1287,7 +1287,7 @@ static int ieee80211_start_ap(struct wiphy *wiphy, struct net_device *dev,
changed |= BSS_CHANGED_UNSOL_BCAST_PROBE_RESP;
}
- err = drv_start_ap(sdata->local, sdata);
+ err = drv_start_ap(sdata->local, sdata, link_id);
if (err) {
old = sdata_dereference(link->u.ap.beacon, sdata);
@@ -1442,7 +1442,7 @@ static int ieee80211_stop_ap(struct wiphy *wiphy, struct net_device *dev,
GFP_KERNEL);
}
- drv_stop_ap(sdata->local, sdata);
+ drv_stop_ap(sdata->local, sdata, link_id);
/* free all potentially still buffered bcast frames */
local->total_ps_buffered -= skb_queue_len(&sdata->u.ap.ps.bc_buf);