Skip to contentSkip to conversation

mt76: sdio: fix transmitting packet hangs

PATCH New [email protected] 1 participant 1 message Jul 22, 2022

Subsystems (2)
lore
Share & tools
lore

[email protected]

author reviewer
#0 lore raw

PATCH 1/1 mt76: sdio: fix transmitting packet hangs

From: YN Chen <[email protected]>

Fix transmitting packets hangs with continuing to pull the pending packet from mac80211 queues when receiving Tx status notification from the device.

Fixes aac5104bf631 ("mt76: sdio: do not run mt76_txq_schedule directly")
---
 drivers/net/wireless/mediatek/mt76/sdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/mediatek/mt76/sdio.c +1 -1
index aba2a9865821..4b6512a60360 100644
@@ -485,7 +485,7 @@ static void mt76s_status_worker(struct mt76_worker *w)
 	} while (nframes > 0);
 
 	if (resched)
-		mt76_worker_schedule(&dev->sdio.txrx_worker);
+		mt76_worker_schedule(&dev->tx_worker);
 }
 
 static void mt76s_tx_status_data(struct work_struct *work)
Signature · 1 line
2.25.1