From 4ddb5bed9ed623d8656fa4416b41e99575b7563f Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Wed, 2 Feb 2011 22:05:11 +0000 Subject: [PATCH] fix deadlock when going from Sleep into Power off --- src/hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hci.c b/src/hci.c index a05960578..75ce0ab30 100644 --- a/src/hci.c +++ b/src/hci.c @@ -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