mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: init: disable tbtt tasklet during device removal
Signed-off-by: Lorenzo Bianconi <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
b242e2b109
commit
de3a5f1175
@@ -451,6 +451,7 @@ int mt7603_register_device(struct mt7603_dev *dev)
|
||||
|
||||
void mt7603_unregister_device(struct mt7603_dev *dev)
|
||||
{
|
||||
tasklet_disable(&dev->pre_tbtt_tasklet);
|
||||
mt76_unregister_device(&dev->mt76);
|
||||
mt7603_mac_status_skb(dev, NULL, -1);
|
||||
mt7603_mcu_exit(dev);
|
||||
|
||||
Reference in New Issue
Block a user