diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2022-01-22 17:45:38 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-02-03 15:57:59 +0300 |
commit | 6152426eec691744623def0e24f7671c3845d5d7 (patch) | |
tree | ce0fcb63f7ff9cdcdf13d81b0ec37556ef3c53e3 /drivers/net/wireless/mediatek/mt76/mt7615/mac.c | |
parent | b87ee6009e6c68da206e987f3a5356dc840b0739 (diff) | |
download | linux-6152426eec691744623def0e24f7671c3845d5d7.tar.xz |
mt76: mt7663s: flush runtime-pm queue after waking up the device
Add missing mt76_connac_pm_dequeue_skbs routine waking up mt7663s device
from runtime-pm sleep state.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/mac.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7615/mac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mac.c b/drivers/net/wireless/mediatek/mt76/mt7615/mac.c index bc72791cdcb5..2705141402c1 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mac.c @@ -2096,6 +2096,7 @@ void mt7615_pm_wake_work(struct work_struct *work) int i; if (mt76_is_sdio(mdev)) { + mt76_connac_pm_dequeue_skbs(mphy, &dev->pm); mt76_worker_schedule(&mdev->sdio.txrx_worker); } else { mt76_for_each_q_rx(mdev, i) |