fix deadlock when going from Sleep into Power off

This commit is contained in:
matthias.ringwald 2011-02-02 22:05:11 +00:00
parent 33871ba6fd
commit 4ddb5bed9e

View File

@ -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