From ac7c1ff99083df8b00ddc93f0759ea67f9b64828 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 19 Dec 2012 15:50:16 +0100 Subject: [PATCH] core: Print timeout value for set discoverable debug --- src/mgmt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mgmt.c b/src/mgmt.c index 8eba551ac..5ae24ec72 100644 --- a/src/mgmt.c +++ b/src/mgmt.c @@ -250,7 +250,8 @@ int mgmt_set_discoverable(int index, gboolean discoverable, uint16_t timeout) struct mgmt_hdr *hdr = (void *) buf; struct mgmt_cp_set_discoverable *cp = (void *) &buf[sizeof(*hdr)]; - DBG("index %d discoverable %d", index, discoverable); + DBG("index %d discoverable %d timeout %d", index, + discoverable, timeout); memset(buf, 0, sizeof(buf)); hdr->opcode = htobs(MGMT_OP_SET_DISCOVERABLE); -- 2.47.3