commit | 091a79fd429ceb0a07c6fd36bf03b45419cc54bd | [log] [tgz] |
---|---|---|
author | Stanislaw Gruszka <sgruszka@redhat.com> | Fri Apr 26 09:58:42 2019 +0200 |
committer | Felix Fietkau <nbd@nbd.name> | Wed May 01 13:03:59 2019 +0200 |
tree | 6a7f706d9258a4fb28fe5452e3673ececa0322d0 | |
parent | 39d501d93d25e4c78fdaf9e83ae00f295ab88a97 [diff] |
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>