Commit 13c6d5f8 authored by Felix Fietkau's avatar Felix Fietkau

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: default avatarFelix Fietkau <nbd@nbd.name>
parent 79d1c94c
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment