mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: fix tx hang on non-AQL frame limit
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -495,9 +495,12 @@ mt76_txq_send_burst(struct mt76_phy *phy, struct mt76_queue *q,
|
||||
|
||||
do {
|
||||
if (test_bit(MT76_STATE_PM, &phy->state) ||
|
||||
test_bit(MT76_RESET, &phy->state) || stop)
|
||||
test_bit(MT76_RESET, &phy->state))
|
||||
return -EBUSY;
|
||||
|
||||
if (stop)
|
||||
break;
|
||||
|
||||
if (q->queued + MT_TXQ_FREE_THR >= q->ndesc)
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user