Add logs to get the previous bluetooth status 94/216094/1
authorAmit Purwar <amit.purwar@samsung.com>
Mon, 21 Oct 2019 05:07:44 +0000 (10:37 +0530)
committerAmit Purwar <amit.purwar@samsung.com>
Mon, 21 Oct 2019 05:07:44 +0000 (10:37 +0530)
Change-Id: Ibcf5ee315b810c5145a0d55576e737ada73e7a5f
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
bt-service-adaptation/services/bt-service-main.c

index 54c6dd3..b8cb267 100644 (file)
@@ -175,6 +175,9 @@ static gboolean __bt_check_bt_service(void *data)
                if (vconf_get_int(BT_OFF_DUE_TO_TIMEOUT, &bt_off_due_to_timeout) != 0)
                        BT_ERR("Fail to get BT_OFF_DUE_TO_TIMEOUT");
 
+               BT_DBG("headed VCONF BT_STATUS:[%d] LE_STATUS:[%d] BT_OFF_DUE_TO_TIMEOUT:[%d]",
+               bt_status, bt_le_status, bt_off_due_to_timeout);
+
                if (bt_off_due_to_timeout) {
                        /* Set the vconf flag to 0 here, if BT need to be enabled
                        bt_off_due_to_timeout variable already hold the old value */