]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a2e35f736f9a28c6010de63e862fa82525d2915
tree1ebcaad44595f6b83ca3029db8f3dfebf194bc37
parentf7fdb5549378cef77194f839e96f4fcc91cf3608
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: 4eb47f6f82f9e ("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