wifi: mt76: sdio: fix transmitting packet hangs

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

Fixes: aac5104bf6 ("mt76: sdio: do not run mt76_txq_schedule directly")
Acked-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: YN Chen <yn.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
YN Chen 2022-07-23 05:59:23 +08:00 committed by Felix Fietkau
parent 35e37a2b5b
commit 250b182720

View file

@ -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)