diff options
author | Stanislaw Gruszka | 2018-09-04 16:40:54 +0200 |
---|---|---|
committer | Felix Fietkau | 2018-09-19 12:28:45 +0200 |
commit | 36404c065ac310c042aa3334ecd6fa12cd3400eb (patch) | |
tree | f49d6bd2c2ad213cbf50ab854cb35e75140a11aa /drivers/net/wireless/mediatek/mt76/mt76x2_tx_common.c | |
parent | Merge wireless-drivers into wireless-drivers-next (diff) | |
download | kernel-qcow2-linux-36404c065ac310c042aa3334ecd6fa12cd3400eb.tar.gz kernel-qcow2-linux-36404c065ac310c042aa3334ecd6fa12cd3400eb.tar.xz kernel-qcow2-linux-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/mt76x2_tx_common.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x2_tx_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2_tx_common.c b/drivers/net/wireless/mediatek/mt76/mt76x2_tx_common.c index d968f9ad6f50..b6c6d657b2b7 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2_tx_common.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x2_tx_common.c @@ -24,7 +24,7 @@ void mt76x2_tx(struct ieee80211_hw *hw, struct ieee80211_tx_control *control, struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb); struct mt76x2_dev *dev = hw->priv; struct ieee80211_vif *vif = info->control.vif; - struct mt76_wcid *wcid = &dev->global_wcid; + struct mt76_wcid *wcid = &dev->mt76.global_wcid; if (control->sta) { struct mt76x02_sta *msta; |