mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: use mac80211 txq scheduling
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -656,7 +656,6 @@ static void mt76u_tx_tasklet(unsigned long data)
|
||||
dev->drv->tx_complete_skb(dev, i, &entry);
|
||||
spin_lock_bh(&q->lock);
|
||||
}
|
||||
mt76_txq_schedule(dev, sq);
|
||||
|
||||
wake = q->stopped && q->queued < q->ndesc - 8;
|
||||
if (wake)
|
||||
@@ -667,6 +666,8 @@ static void mt76u_tx_tasklet(unsigned long data)
|
||||
|
||||
spin_unlock_bh(&q->lock);
|
||||
|
||||
mt76_txq_schedule(dev, i);
|
||||
|
||||
if (!test_and_set_bit(MT76_READING_STATS, &dev->state))
|
||||
ieee80211_queue_delayed_work(dev->hw,
|
||||
&dev->usb.stat_work,
|
||||
|
||||
Reference in New Issue
Block a user