diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2019-04-26 09:58:42 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-05-01 13:03:59 +0200 |
commit | 091a79fd429ceb0a07c6fd36bf03b45419cc54bd (patch) | |
tree | 6a7f706d9258a4fb28fe5452e3673ececa0322d0 /drivers/net/wireless/mediatek/mt76/mt76x02.h | |
parent | 39d501d93d25e4c78fdaf9e83ae00f295ab88a97 (diff) | |
download | linux-091a79fd429ceb0a07c6fd36bf03b45419cc54bd.tar.bz2 |
mt76: mt76x02: remove bogus mutex usage
mac80211 .start(), .stop() callbacks are never called concurrently with
other callbacks. The only concurencly is with mt76 works which we cancel
on stop() and schedule on start().
This fixes possible deadlock on cancel_delayed_work_sync(&dev->mac_work)
as mac_work also take mutex.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02.h')
0 files changed, 0 insertions, 0 deletions