From eeacd40d7a1d3450694f9fed7a98eca8c9468338 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Sun, 16 Mar 2014 23:46:00 +0100 Subject: [PATCH] android/handsfree: Fix not initializing call state to idle --- android/handsfree.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/handsfree.c b/android/handsfree.c index 2ab0c32f6..62bb1cfce 100644 --- a/android/handsfree.c +++ b/android/handsfree.c @@ -208,6 +208,8 @@ static void device_init(const bdaddr_t *bdaddr) { bacpy(&device.bdaddr, bdaddr); + device.setup_state = HAL_HANDSFREE_CALL_STATE_IDLE; + memcpy(device.inds, inds_defaults, sizeof(device.inds)); memcpy(device.codecs, codecs_defaults, sizeof(device.codecs)); -- 2.47.3