]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7615: rearrange cleanup operations in mt7615_unregister_device
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 5 May 2019 15:17:00 +0000 (17:17 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 25 Jun 2019 10:55:27 +0000 (12:55 +0200)
commit528d21f28238e4034555315a01c1e024fccb34f5
tree635e1e56fdd9e0bd93f01abbf0f9bea36ef45061
parent2c680238e0be8ca6cea97404488d000801be7b50
mt76: mt7615: rearrange cleanup operations in mt7615_unregister_device

Cleanup tx/rx napi before releasing pending idrs.
Moreover unmap txwi_cache running mt76_free_device routine

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/init.c