Diff between 4ec01bafb011ae59f8d67c83e23138723ffadcaa and 92bc7a33f14772cfc95e0ed5009628250c97db9f

Changed Files

File Additions Deletions Status
src/mgmt.c +1 -0 modified

Full Patch

diff --git a/src/mgmt.c b/src/mgmt.c
index 83e4f91..d70c941 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;