summaryrefslogtreecommitdiff
path: root/common/charge_state_v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/charge_state_v2.c')
-rw-r--r--common/charge_state_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/charge_state_v2.c b/common/charge_state_v2.c
index 4de4faf51a..014a647cce 100644
--- a/common/charge_state_v2.c
+++ b/common/charge_state_v2.c
@@ -959,7 +959,7 @@ wait_for_it:
curr.state == ST_DISCHARGE) {
/* If AP is off, we can sleep a long time */
if (chipset_in_state(CHIPSET_STATE_ANY_OFF |
- CHIPSET_STATE_SUSPEND))
+ CHIPSET_STATE_ANY_SUSPEND))
sleep_usec =
CHARGE_POLL_PERIOD_VERY_LONG;
else