mt76: fix burst len estimation in mt76_txq_schedule_list()

Signed-off-by: Lorenzo Bianconi <[email protected]>
This commit is contained in:
Lorenzo Bianconi
2015-08-06 15:19:44 +02:00
committed by Felix Fietkau
parent 9f5f5d283e
commit 1bce98e00d
+1 -1
View File
@@ -357,7 +357,7 @@ mt76_txq_schedule_list(struct mt76_dev *dev, struct mt76_queue *hwq)
mtxq_last = list_last_entry(&hwq->swq, struct mt76_txq, list);
while (1) {
bool empty = false;
int cur, len;
int cur;
if (hwq->swq_queued >= 4)
break;