summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2018-09-04 16:40:54 +0200
committerFelix Fietkau <nbd@nbd.name>2018-09-19 12:28:45 +0200
commit36404c065ac310c042aa3334ecd6fa12cd3400eb (patch)
treef49d6bd2c2ad213cbf50ab854cb35e75140a11aa /drivers/net/wireless/mediatek/mt76/mt76x0/tx.c
parent43e2f2904160b9a95aad77df9cbc1622910b8598 (diff)
downloadlinux-stable-36404c065ac310c042aa3334ecd6fa12cd3400eb.tar.gz
linux-stable-36404c065ac310c042aa3334ecd6fa12cd3400eb.tar.bz2
linux-stable-36404c065ac310c042aa3334ecd6fa12cd3400eb.zip
mt76: move wcid fields to common mt76_dev struct
All current MT devices including new MT7603 type chips support 128 WCIDs, we can unify wcid data in common mt76_dev structure. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0/tx.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x0/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c b/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c
index fd2baa5cc92d..73ea6d3097f2 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c
@@ -150,7 +150,7 @@ void mt76x0_tx(struct ieee80211_hw *hw, struct ieee80211_tx_control *control,
struct ieee80211_vif *vif = info->control.vif;
struct ieee80211_sta *sta = control->sta;
struct mt76x02_sta *msta = NULL;
- struct mt76_wcid *wcid = dev->mon_wcid;
+ struct mt76_wcid *wcid = &dev->mt76.global_wcid;
struct mt76_txwi *txwi;
int pkt_len = skb->len;
int hw_q = skb2q(skb);