mt76: mt7615: run mt7615_mcu_set_roc holding mt76 mutex
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 3 Jul 2020 08:15:52 +0000 (10:15 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 21 Jul 2020 17:01:17 +0000 (19:01 +0200)
commit46dadc3104415ad834db1be3208311fd5f02e3ab
treefbf66e2acf7e89a102ef16a925be17e3a4d0868c
parentde1f66bab9b7d9c1c80ae18bb1d85b699bbf8f44
mt76: mt7615: run mt7615_mcu_set_roc holding mt76 mutex

Make sure to run mt7615_mcu_set_roc() holding mt76 mutex in order to
wake the device from low power state and avoid races

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