aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2021-12-16 05:25:35 +0800
committerFelix Fietkau <nbd@nbd.name>2021-12-19 15:24:04 +0100
commit5375001bb4ce22801bf3bb566cc3e67d2d3a5dc0 (patch)
tree27570412569fce384e071dc9e6a264e7ced2721f /drivers/net/wireless/intel/iwlwifi/mvm
parentmt76: mt7921: clear pm->suspended in mt7921_mac_reset_work (diff)
downloadlinux-dev-5375001bb4ce22801bf3bb566cc3e67d2d3a5dc0.tar.xz
linux-dev-5375001bb4ce22801bf3bb566cc3e67d2d3a5dc0.zip
mt76: mt7921: fix possible resume failure
Fix the possible resume failure due to mt76_connac_mcu_set_hif_suspend timeout. That is because clearing the flag pm->suspended too early opened up a race window, where mt7921_poll_tx/rx scheduled a ps_work to put the device in doze mode, that is unexpected for the device is being resumed from the suspend state and would make the remaining MCU comamnds in resume handler failed to execute. Fixes: ffa1bf97425b ("mt76: mt7921: introduce PM support") Co-developed-by: YN Chen <YN.Chen@mediatek.com> Signed-off-by: YN Chen <YN.Chen@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm')
0 files changed, 0 insertions, 0 deletions