diff options
-rw-r--r-- | board/bolt/power_sequence.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/board/bolt/power_sequence.c b/board/bolt/power_sequence.c index 1549f75d8c..0e458aeb26 100644 --- a/board/bolt/power_sequence.c +++ b/board/bolt/power_sequence.c @@ -332,8 +332,9 @@ enum x86_state x86_handle_state(enum x86_state state) /* Disable +CPU_CORE */ gpio_set_level(GPIO_VCORE_EN, 0); - /* Disable wireless */ - wireless_enable(0); + /* Disable WWAN, but leave WiFi on */ + wireless_enable(EC_WIRELESS_SWITCH_WLAN | + EC_WIRELESS_SWITCH_WLAN_POWER); /* * Deassert prochot since CPU is off and we're about to drop @@ -351,6 +352,9 @@ enum x86_state x86_handle_state(enum x86_state state) /* Call hooks before we remove power rails */ hook_notify(HOOK_CHIPSET_SHUTDOWN); + /* Disable wireless */ + wireless_enable(0); + /* Disable touchpad power */ gpio_set_level(GPIO_ENABLE_TOUCHPAD, 0); |