mt76x0: stop stat workqueue at hw stop

Cancel tx status workqueue during vif teardown

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Lorenzo Bianconi
2018-09-06 11:18:32 +02:00
committed by Felix Fietkau
parent 30ec915269
commit 1baa6e3a9b

View File

@@ -51,6 +51,7 @@ static void mt76x0_stop(struct ieee80211_hw *hw)
cancel_delayed_work_sync(&dev->cal_work);
cancel_delayed_work_sync(&dev->mac_work);
mt76u_stop_stat_wk(&dev->mt76);
mt76x0_mac_stop(dev);
mutex_unlock(&dev->mt76.mutex);