mt76: connac: do not run mt76_txq_schedule_all directly
In order to not break runtime-pm, do run mt76_txq_schedule_all in mt7615_set_channel/mt7921_set_channel but rely on mt76_worker_schedule Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
75e83c2035
commit
310718ba6a
@ -351,8 +351,7 @@ out:
|
|||||||
|
|
||||||
mt7615_mutex_release(dev);
|
mt7615_mutex_release(dev);
|
||||||
|
|
||||||
mt76_txq_schedule_all(phy->mt76);
|
mt76_worker_schedule(&dev->mt76.tx_worker);
|
||||||
|
|
||||||
if (!mt76_testmode_enabled(phy->mt76))
|
if (!mt76_testmode_enabled(phy->mt76))
|
||||||
ieee80211_queue_delayed_work(phy->mt76->hw,
|
ieee80211_queue_delayed_work(phy->mt76->hw,
|
||||||
&phy->mt76->mac_work,
|
&phy->mt76->mac_work,
|
||||||
|
@ -395,8 +395,7 @@ out:
|
|||||||
clear_bit(MT76_RESET, &phy->mt76->state);
|
clear_bit(MT76_RESET, &phy->mt76->state);
|
||||||
mt7921_mutex_release(dev);
|
mt7921_mutex_release(dev);
|
||||||
|
|
||||||
mt76_txq_schedule_all(phy->mt76);
|
mt76_worker_schedule(&dev->mt76.tx_worker);
|
||||||
|
|
||||||
ieee80211_queue_delayed_work(phy->mt76->hw, &phy->mt76->mac_work,
|
ieee80211_queue_delayed_work(phy->mt76->hw, &phy->mt76->mac_work,
|
||||||
MT7921_WATCHDOG_TIME);
|
MT7921_WATCHDOG_TIME);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user