Diff between 91b1b67b95110c1c96d0ff0073c7114cfa153755 and ecf2495781f735a7604df7d5d5b2d8ad5330c480

Changed Files

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

Full Patch

diff --git a/src/device.c b/src/device.c
index 5506bc9..82704f8 100644
--- a/src/device.c
+++ b/src/device.c
@@ -5141,6 +5141,9 @@ void btd_device_set_temporary(struct btd_device *device, bool temporary)
 	if (device->temporary == temporary)
 		return;
 
+	if (device_address_is_private(device))
+		return;
+
 	DBG("temporary %d", temporary);
 
 	device->temporary = temporary;