Skip to content

Commit

Permalink
mt7603: add missing spin lock init
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Apr 15, 2018
1 parent a8e8921 commit ea6dd6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mt7603_init.c
Expand Up @@ -410,6 +410,7 @@ int mt7603_register_device(struct mt7603_dev *dev)

mutex_init(&dev->mutex);
spin_lock_init(&dev->status_lock);
spin_lock_init(&dev->irq_lock);
__skb_queue_head_init(&dev->status_list);

INIT_DELAYED_WORK(&dev->mac_work, mt7603_mac_work);
Expand Down

0 comments on commit ea6dd6f

Please sign in to comment.