Diff between f710762d3f03c6aec9fbfcd1e1ade70b26c47cf9 and 9390708d2918b8febee7a76397f22597f0d4ed56

Changed Files

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

Full Patch

diff --git a/src/device.c b/src/device.c
index 3730c2a..59c72db 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1902,6 +1902,8 @@ static struct btd_device *device_new(struct btd_adapter *adapter,
 	struct btd_device *device;
 	const char *adapter_path = adapter_get_path(adapter);
 
+	DBG("address %s", address);
+
 	device = g_try_malloc0(sizeof(struct btd_device));
 	if (device == NULL)
 		return NULL;
@@ -1936,6 +1938,8 @@ struct btd_device *device_create_from_storage(struct btd_adapter *adapter,
 	const bdaddr_t *src;
 	char srcaddr[18];
 
+	DBG("address %s", address);
+
 	device = device_new(adapter, address);
 	if (device == NULL)
 		return NULL;
@@ -1957,6 +1961,8 @@ struct btd_device *device_create(struct btd_adapter *adapter,
 	char srcaddr[18];
 	char *str;
 
+	DBG("address %s", address);
+
 	device = device_new(adapter, address);
 	if (device == NULL)
 		return NULL;