mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-31 01:20:44 +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;
|
hci_stack.substate = 0;
|
||||||
break;
|
break;
|
||||||
case HCI_POWER_OFF:
|
case HCI_POWER_OFF:
|
||||||
hci_stack.state = HCI_STATE_OFF;
|
hci_stack.state = HCI_STATE_HALTING;
|
||||||
break;
|
break;
|
||||||
case HCI_POWER_SLEEP:
|
case HCI_POWER_SLEEP:
|
||||||
// do nothing
|
// do nothing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user