Skip to content

Commit

Permalink
wifi: mt76: sdio: fix transmitting packet hangs
Browse files Browse the repository at this point in the history
[ Upstream commit 250b182 ]

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

Fixes: aac5104 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
YN Chen authored and gregkh committed Oct 21, 2022
1 parent 3ed0b38 commit ce73456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/mediatek/mt76/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ce73456

Please sign in to comment.