Skip to content

Commit

Permalink
mt7603: init: disable tbtt tasklet during device removal
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
  • Loading branch information
LorenzoBianconi authored and nbd168 committed Jan 23, 2018
1 parent 302af90 commit 9f685fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mt7603_init.c
Expand Up @@ -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);
Expand Down

0 comments on commit 9f685fe

Please sign in to comment.