From c927bb6db30a4a78a287b50f5a1323a3889b965b Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 30 Dec 2013 23:43:38 +0100 Subject: [PATCH] android/hal-bluetooth: Add debug print to config_hci_snoop_log Improves debugs and make it consistent with other methods. --- android/hal-bluetooth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/hal-bluetooth.c b/android/hal-bluetooth.c index a95c4eaab..7accdccb5 100644 --- a/android/hal-bluetooth.c +++ b/android/hal-bluetooth.c @@ -829,6 +829,8 @@ static int le_test_mode(uint16_t opcode, uint8_t *buf, uint8_t len) #if PLATFORM_SDK_VERSION > 18 static int config_hci_snoop_log(uint8_t enable) { + DBG("enable %u", enable); + if (enable && property_set("ctl.start", SNOOP_SERVICE_NAME) < 0) { error("Failed to start service %s", SNOOP_SERVICE_NAME); return BT_STATUS_FAIL; -- 2.47.3