OSDN Git Service

mgmt: Add address type to bonding debug message
authorJoão Paulo Rechi Vita <jprvita@openbossa.org>
Tue, 2 Oct 2012 17:22:57 +0000 (14:22 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 3 Oct 2012 07:51:22 +0000 (10:51 +0300)
src/mgmt.c

index fc0e5e4..4354dc4 100644 (file)
@@ -2383,7 +2383,8 @@ int mgmt_create_bonding(int index, bdaddr_t *bdaddr, uint8_t addr_type, uint8_t
        char addr[18];
 
        ba2str(bdaddr, addr);
-       DBG("hci%d bdaddr %s io_cap 0x%02x", index, addr, io_cap);
+       DBG("hci%d bdaddr %s type %d io_cap 0x%02x",
+                                       index, addr, addr_type, io_cap);
 
        memset(buf, 0, sizeof(buf));
        hdr->opcode = htobs(MGMT_OP_PAIR_DEVICE);