wifi: mt76: sdio: fix transmitting packet hangs
authorYN Chen <yn.chen@mediatek.com>
Fri, 22 Jul 2022 21:59:23 +0000 (05:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 10:34:43 +0000 (12:34 +0200)
commit817e8b75ae0665f38208b8c15796e7d02de72b5f
tree394945d42d3ceb5dd1581157c9d4ecf9cf2c3c7e
parent5dc095a37fbdb702d928cf57d2441da5b3898432
wifi: mt76: sdio: fix transmitting packet hangs

[ Upstream commit 250b1827205846ff346a76044955cb79d4963f70 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/mediatek/mt76/sdio.c