mt76: mt7915: only free skbs after mt7915_dma_reset() when reset happens
authorRyder Lee <ryder.lee@mediatek.com>
Tue, 13 Apr 2021 07:26:20 +0000 (15:26 +0800)
committerFelix Fietkau <nbd@nbd.name>
Wed, 21 Apr 2021 09:42:20 +0000 (11:42 +0200)
commit6362dd16596e8a694f895089726fac103b7f47ef
treea3de7cd35798f4dad0033a46d2d75eab1f12a0b8
parente9d32af478cfc3744a45245c0b126738af4b3ac4
mt76: mt7915: only free skbs after mt7915_dma_reset() when reset happens

In mt7915_mac_reset_work(), make sure freeing skbs after mt7915_dma_reset().

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