mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: connac: unschedule ps_work in mt76_connac_pm_wake
In order to avoid synchronization issues between wake and ps works, cancel ps_work in mt76_connac_pm_wake routine Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
1bc5e67a60
commit
325f7b451c
@@ -345,7 +345,6 @@ static int mt7615_mcu_lp_drv_pmctrl(struct mt7615_dev *dev)
|
||||
clear_bit(MT76_STATE_PM, &mphy->state);
|
||||
|
||||
out:
|
||||
dev->pm.last_activity = jiffies;
|
||||
mutex_unlock(&dev->pm.mutex);
|
||||
|
||||
return err;
|
||||
|
||||
Reference in New Issue
Block a user