mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7921: get rid of mt7921_mcu_exit
Run skb_queue_purge when needed. Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
a3f1d6ccf3
commit
9aeca2a5ce
+1
-1
@@ -48,7 +48,7 @@ static void mt7921s_unregister_device(struct mt7921_dev *dev)
|
||||
|
||||
mt76s_deinit(&dev->mt76);
|
||||
mt7921s_wfsys_reset(dev);
|
||||
mt7921_mcu_exit(dev);
|
||||
skb_queue_purge(&dev->mt76.mcu.res_q);
|
||||
|
||||
mt76_free_device(&dev->mt76);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user