mt76: mt7615: clean up FWDL TXQ during/after firmware upload
authorFelix Fietkau <nbd@nbd.name>
Mon, 1 Jul 2019 18:17:40 +0000 (20:17 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2019 15:42:28 +0000 (17:42 +0200)
commit5abe8baf107eac8f1849408b353a792d5dd973ac
treeea94fa42cf0dbbace10ccf078824cbeebd2590b2
parent70911d96380692d6fdbae7c7421da844166047c1
mt76: mt7615: clean up FWDL TXQ during/after firmware upload

Since we don't clean that tx queue from the tx tasklet, we need to do it
after the firmware upload is done. This patch also adds a cleanup step during
the upload, to help reclaim memory faster.

Fixes unprocessed queued frames eating up memory  long after the firmware
upload has already completed

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c