From d57dadb8c8613339771a8eefc742093e6e32527e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 14 Dec 2021 20:07:25 +0100 Subject: [PATCH] Revert "mt76: only kick tx queue if frames were queued" This reverts commit fea36e02075c1f2834a3373c6d2cebe2960dd717. When reaching that point, a frame has always been enqueued and we need to kick the queue Signed-off-by: Felix Fietkau --- tx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tx.c b/tx.c index 44355e20..6b8c9dc8 100644 --- a/tx.c +++ b/tx.c @@ -490,8 +490,7 @@ mt76_txq_send_burst(struct mt76_phy *phy, struct mt76_queue *q, n_frames++; } while (1); - if (n_frames) - dev->queue_ops->kick(dev, q); + dev->queue_ops->kick(dev, q); return n_frames; }