Diff between 061692d55fd931231949c37772b73c6e2d068488 and 007c7c8be56816cb2d3eb5c69c2945c6b248a3f3

Changed Files

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

Full Patch

diff --git a/src/device.c b/src/device.c
index 127b280..cf357f4 100644
--- a/src/device.c
+++ b/src/device.c
@@ -4001,7 +4001,7 @@ void device_bonding_complete(struct btd_device *device, uint8_t bdaddr_type,
 	if (state->paired)
 		return;
 
-	device_set_paired(device, TRUE);
+	device_set_paired(device, bdaddr_type);
 
 	/* If services are already resolved just reply to the pairing
 	 * request