mt76: mac: run mt76x02_mac_work routine atomically
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Thu, 6 Dec 2018 16:07:39 +0000 (17:07 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 11 Jan 2019 14:10:16 +0000 (15:10 +0100)
commit4989338ed3053372fcf5173a2a4800ac99de07d9
treea4007ccb4b878788676c44f8e2acb0e9189fcb0f
parent374eb1b55540c99af4e2417a2d51ff5f56cfdb70
mt76: mac: run mt76x02_mac_work routine atomically

Grab mt76_dev mutex in mt76x02_mac_work handler since it runs
concurrently with mt76x{0,2}_set_channel routines

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c