]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mt76: mt7615: only free skbs after mt7615_dma_reset() when reset happens
authorRyder Lee <ryder.lee@mediatek.com>
Tue, 13 Apr 2021 08:00:06 +0000 (16:00 +0800)
committerFelix Fietkau <nbd@nbd.name>
Wed, 21 Apr 2021 09:42:20 +0000 (11:42 +0200)
commit91577ccae6461506a06889849dd944d9bdec09dd
tree1b0ea66c3652ed29a7a18c878b305b4fedc8650a
parent6362dd16596e8a694f895089726fac103b7f47ef
mt76: mt7615: only free skbs after mt7615_dma_reset() when reset happens

In mt7615_mac_reset_work(), make sure freeing skbs after mt7615_dma_reset().

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/pci_mac.c