From b9da63613161e5413e21d4d905b8c3f5dec2af63 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 11 Mar 2014 22:36:17 +0100 Subject: [PATCH] android/tester: Enable bluetoothd debug logs --- android/android-tester.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/android/android-tester.c b/android/android-tester.c index ade5b400e..f552584bf 100644 --- a/android/android-tester.c +++ b/android/android-tester.c @@ -604,7 +604,7 @@ static void bluetoothd_start(int hci_index) { char prg_name[PATH_MAX + 1]; char index[8]; - char *prg_argv[4]; + char *prg_argv[5]; snprintf(prg_name, sizeof(prg_name), "%s/%s", exec_dir, "bluetoothd"); snprintf(index, sizeof(index), "%d", hci_index); @@ -612,7 +612,8 @@ static void bluetoothd_start(int hci_index) prg_argv[0] = prg_name; prg_argv[1] = "-i"; prg_argv[2] = index; - prg_argv[3] = NULL; + prg_argv[3] = "-d"; + prg_argv[4] = NULL; if (!tester_use_debug()) fclose(stderr); -- 2.47.3