projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d1c94
)
mt76: do not wake tx queues during flush
author
Felix Fietkau
<nbd@nbd.name>
Fri, 9 Nov 2018 12:43:58 +0000
(13:43 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 30 Nov 2018 11:29:33 +0000
(12:29 +0100)
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>
drivers/net/wireless/mediatek/mt76/dma.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/dma.c
b/drivers/net/wireless/mediatek/mt76/dma.c
index d62f8d9f2ea131f67763642049498ba446b46110..e2ba26378575d93c473f766d8ec37a4a74ec6110 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/dma.c
+++ b/
drivers/net/wireless/mediatek/mt76/dma.c
@@
-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)