Diff between 79e7db12bb56176e98638dae5c5f2facc0d9332c and 0f4625cbdab3f3370bf5e0ecb259294848c0ac0e

Changed Files

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

Full Patch

diff --git a/src/device.c b/src/device.c
index c41b0c8..fb7c4f8 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1818,14 +1818,8 @@ send_reply:
 	}
 
 cleanup:
-	if (!device->temporary) {
-		bdaddr_t sba, dba;
-
-		adapter_get_address(device->adapter, &sba);
-		device_get_address(device, &dba, NULL);
-
+	if (!device->temporary)
 		store_profiles(device);
-	}
 
 	device->browse = NULL;
 	browse_request_free(req);