mt76: mt7615: hold mt76 lock queueing wd in mt7615_queue_key_update
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 30 Jul 2020 09:21:31 +0000 (11:21 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Sep 2020 16:10:12 +0000 (18:10 +0200)
commitcddaaa56375615c256eb6960d3092ddb8a7a9154
tree1ebcaad44595f6b83ca3029db8f3dfebf194bc37
parentd6e08f2be71092536d01a86275e1a32c4acd6684
mt76: mt7615: hold mt76 lock queueing wd in mt7615_queue_key_update

wq queue is always updated holding mt76 spinlock. Grab mt76 lock in
mt7615_queue_key_update() before putting a new element at the end of the
queue.

Fixes: eb99cc95c3b65 ("mt76: mt7615: introduce mt7663u support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/main.c