From 92bc7a33f14772cfc95e0ed5009628250c97db9f Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 19 Dec 2012 16:03:23 +0100 Subject: [PATCH] core: Set the address type when canceling pair device command --- src/mgmt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mgmt.c b/src/mgmt.c index 83e4f91cf..d70c941b7 100644 --- a/src/mgmt.c +++ b/src/mgmt.c @@ -2641,6 +2641,7 @@ int mgmt_cancel_bonding(int index, const bdaddr_t *bdaddr, uint8_t addr_type) hdr->index = htobs(index); bacpy(&cp->bdaddr, bdaddr); + cp->type = addr_type; if (write(mgmt_sock, &buf, sizeof(buf)) < 0) return -errno; -- 2.47.3