summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76x2_main.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-01-24 16:19:16 +0100
committerKalle Valo <kvalo@codeaurora.org>2018-01-26 11:18:45 +0200
commit3675302de8e946b9f8db44f55abbac1742f95706 (patch)
treef2ee2b9e8d20943c0987455278e6f001ba315252 /drivers/net/wireless/mediatek/mt76/mt76x2_main.c
parent9d9d738b4b54c8b04928168663761fe934b43ad8 (diff)
downloadtalos-op-linux-3675302de8e946b9f8db44f55abbac1742f95706.tar.gz
talos-op-linux-3675302de8e946b9f8db44f55abbac1742f95706.zip
mt76: pass the per-vif wcid to the core for multicast rx
Preparation for adding software rx CCMP PN validation Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x2_main.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x2_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2_main.c b/drivers/net/wireless/mediatek/mt76/mt76x2_main.c
index bc08040123b9..08fe804c6a43 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x2_main.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x2_main.c
@@ -273,6 +273,7 @@ mt76x2_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
goto out;
}
+ msta->vif = mvif;
msta->wcid.sta = 1;
msta->wcid.idx = idx;
msta->wcid.hw_key_idx = -1;
OpenPOWER on IntegriCloud