From b975a903fbd2d9fc0de16ac1a26f33418121789a Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Mon, 25 Nov 2013 15:08:49 +0200 Subject: [PATCH] android/hal-sock: Print bdaddr on connect --- android/hal-sock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/hal-sock.c b/android/hal-sock.c index bd88ad8da..e02a49a9f 100644 --- a/android/hal-sock.c +++ b/android/hal-sock.c @@ -82,8 +82,8 @@ static bt_status_t sock_connect(const bt_bdaddr_t *bdaddr, btsock_type_t type, return BT_STATUS_PARM_INVALID; } - DBG("uuid %s chan %d sock %p type %d flags 0x%02x", - btuuid2str(uuid), chan, sock, type, flags); + DBG("bdaddr %s uuid %s chan %d sock %p type %d flags 0x%02x", + bdaddr2str(bdaddr), btuuid2str(uuid), chan, sock, type, flags); if (type != BTSOCK_RFCOMM) { error("Socket type %u not supported", type); -- 2.47.3