diff options
author | Shaul Triebitz <shaul.triebitz@intel.com> | 2022-06-06 14:25:54 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-06-20 12:57:08 +0200 |
commit | 6e8912a503759bb8f1f01c5b761d0d45815fa6de (patch) | |
tree | b09e5429b721cb57345c2380408b21d3a6d5d0de /drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c | |
parent | ae7ba17b49b6707e62f31643dda25592c29482f8 (diff) | |
download | linux-stable-6e8912a503759bb8f1f01c5b761d0d45815fa6de.tar.gz linux-stable-6e8912a503759bb8f1f01c5b761d0d45815fa6de.tar.bz2 linux-stable-6e8912a503759bb8f1f01c5b761d0d45815fa6de.zip |
wifi: mac80211: return a beacon for a specific link
Pass the link id through to the get_beacon and return
the beacon for a specific link id.
Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c b/drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c index 5d034cec191b..b72510949877 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c @@ -139,7 +139,7 @@ mt76x02_update_beacon_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) if (!(dev->mt76.beacon_mask & BIT(mvif->idx))) return; - skb = ieee80211_beacon_get(mt76_hw(dev), vif); + skb = ieee80211_beacon_get(mt76_hw(dev), vif, 0); if (!skb) return; |