mt76: mt7615: rearrange locking in mt7615_config
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 26 May 2019 14:05:13 +0000 (16:05 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 27 Jun 2019 10:58:13 +0000 (12:58 +0200)
commit892fe32b9c7a411eec68869aba428c19b1f4b9eb
treec698bcb475668c2866cf10704193ac7cfdedf375
parent2fccf4f026ef2a97d9e1e487ff1c2c127fed7cdc
mt76: mt7615: rearrange locking in mt7615_config

Since all the routines in mt7615_config grub mt76.mutex moves
mutex_lock/mutex_unlock at the beginning/end of mt7615_config

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