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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)