From 1bce98e00db02112c16e7a37c65dbaa9131d45ff Mon Sep 17 00:00:00 2001 From: Lorenzo Bianconi Date: Thu, 6 Aug 2015 15:02:22 +0200 Subject: [PATCH] mt76: fix burst len estimation in mt76_txq_schedule_list() Signed-off-by: Lorenzo Bianconi --- tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tx.c b/tx.c index 57b9047d..03fae0a2 100644 --- a/tx.c +++ b/tx.c @@ -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;