OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adb6f96
)
android/handsfree: Fix not initializing call state to idle
author
Szymon Janc
<szymon.janc@tieto.com>
Sun, 16 Mar 2014 22:46:00 +0000
(23:46 +0100)
committer
Szymon Janc
<szymon.janc@tieto.com>
Sun, 16 Mar 2014 22:51:31 +0000
(23:51 +0100)
android/handsfree.c
patch
|
blob
|
history
diff --git
a/android/handsfree.c
b/android/handsfree.c
index
2ab0c32
..
62bb1cf
100644
(file)
--- 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));