]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7921: forbid the doze mode when coredump is in progress
authorYN Chen <YN.Chen@mediatek.com>
Fri, 24 Dec 2021 08:32:49 +0000 (16:32 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 3 Feb 2022 12:57:58 +0000 (13:57 +0100)
commitf036878ad2cffed2f39f879e1d0443a18e1189db
treed3701c7c336b3d8b894a69e54f2215ea097597ac
parent01db427fe6765634f35c31614b28faa29f162a36
mt76: mt7921: forbid the doze mode when coredump is in progress

We forbid the doze mode while the collecting core dump is going because
that doesn't make sense and the firmware possibly stays in the abnormal
state where cannot handle the doze request from the driver anymore until
the WiFi reset procedure is completed.

Co-developed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: YN Chen <YN.Chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mac.c