]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mt76: mt7663s: fix possible quota leak in mt7663s_refill_sched_quota
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 5 Sep 2020 09:26:05 +0000 (11:26 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Sep 2020 16:10:19 +0000 (18:10 +0200)
commit598daa4dbe14082b9369f018e46e753b2d79f730
tree08e92e7e807a13b4c42135fab0c49e186884061b
parente98e6df6d6820c8609315630409cd8766953d122
mt76: mt7663s: fix possible quota leak in mt7663s_refill_sched_quota

Look just at reported quota since the hw sporadically reports mcu tx
quota without setting WHIER_TX_DONE_INT_EN bit

Tested-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/sdio_txrx.c