summaryrefslogtreecommitdiff
path: root/android/client
diff options
context:
space:
mode:
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>2014-11-26 12:43:48 +0100
committerSzymon Janc <szymon.janc@tieto.com>2014-12-03 09:05:42 +0100
commit790e32b8da57755c9e97647310a0d7db6eb0c7fd (patch)
treed5c3162d16807d8a64d9784faa7b4f5e64861949 /android/client
parent1e64bbc81d65d50bb14ebdb014d9b58e947a0219 (diff)
downloadbluez-790e32b8da57755c9e97647310a0d7db6eb0c7fd.tar.gz
android/client: Fix double initialize of bluetooth
Profile initialization loop should omit already initialized profiles by process line command.
Diffstat (limited to 'android/client')
-rw-r--r--android/client/haltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/client/haltest.c b/android/client/haltest.c
index 72771b3ee..f9b067487 100644
--- a/android/client/haltest.c
+++ b/android/client/haltest.c
@@ -424,7 +424,7 @@ static void init(void)
}
/* Init what is available to init */
- for (i = 2; i < NELEM(interfaces) - 1; ++i) {
+ for (i = 3; i < NELEM(interfaces) - 1; ++i) {
m = get_interface_method(interfaces[i]->name, "init");
if (m != NULL)
m->func(2, argv);