mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: use the real vif index in txwi header for normal tx.
Fixes rate control for multi-vif. Beacons and buffered multicast packets still need the adjusted index Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -649,7 +649,7 @@ mt7603_mac_write_txwi(struct mt7603_dev *dev, __le32 *txwi,
|
||||
if (vif) {
|
||||
mvif = (struct mt7603_vif *) vif->drv_priv;
|
||||
vif_idx = mvif->idx;
|
||||
if (vif_idx)
|
||||
if (vif_idx && q >= &dev->mt76.q_tx[MT_TXQ_BEACON])
|
||||
vif_idx += 0x10;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user