From 790e32b8da57755c9e97647310a0d7db6eb0c7fd Mon Sep 17 00:00:00 2001 From: Grzegorz Kolodziejczyk Date: Wed, 26 Nov 2014 12:43:48 +0100 Subject: [PATCH] android/client: Fix double initialize of bluetooth Profile initialization loop should omit already initialized profiles by process line command. --- android/client/haltest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3