mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-04 04:20:58 +00:00
fix deadlock when going from Sleep into Power off
This commit is contained in:
parent
33871ba6fd
commit
4ddb5bed9e
@ -759,7 +759,7 @@ int hci_power_control(HCI_POWER_MODE power_mode){
|
||||
hci_stack.substate = 0;
|
||||
break;
|
||||
case HCI_POWER_OFF:
|
||||
hci_stack.state = HCI_STATE_OFF;
|
||||
hci_stack.state = HCI_STATE_HALTING;
|
||||
break;
|
||||
case HCI_POWER_SLEEP:
|
||||
// do nothing
|
||||
|
Loading…
x
Reference in New Issue
Block a user