mt76: do not wake tx queues during flush
While the queue is being cleaned up, the stack must not attempt to add any extra packets Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
79d1c94c9c
commit
13c6d5f837
|
@ -168,7 +168,7 @@ mt76_dma_tx_cleanup(struct mt76_dev *dev, enum mt76_txq_id qid, bool flush)
|
|||
|
||||
if (entry.txwi) {
|
||||
mt76_put_txwi(dev, entry.txwi);
|
||||
wake = true;
|
||||
wake = !flush;
|
||||
}
|
||||
|
||||
if (!flush && q->tail == last)
|
||||
|
|
Loading…
Reference in New Issue