diff options
author | YN Chen <yn.chen@mediatek.com> | 2022-07-23 05:59:23 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-09-15 12:53:59 +0200 |
commit | 250b1827205846ff346a76044955cb79d4963f70 (patch) | |
tree | 4343c0fc2acd83eb6fd44cd039c53f2b21652dd6 /drivers/net/wireless/mediatek/mt76/sdio.c | |
parent | 35e37a2b5b6e1a7b9a7bae4253e707107de12072 (diff) | |
download | lwn-250b1827205846ff346a76044955cb79d4963f70.tar.gz lwn-250b1827205846ff346a76044955cb79d4963f70.zip |
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: aac5104bf631 ("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>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/sdio.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/sdio.c b/drivers/net/wireless/mediatek/mt76/sdio.c index ece4e4bb94a1..0ec308f99af5 100644 --- a/drivers/net/wireless/mediatek/mt76/sdio.c +++ b/drivers/net/wireless/mediatek/mt76/sdio.c @@ -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) |