Diff between ffcabd694c8d20e1da22fe6a66846a9241ee1717 and cdad41a95e6894eaaf3fc90a8b5ae4bd91957482

Changed Files

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

Full Patch

diff --git a/src/device.c b/src/device.c
index 13159d9..a5ef467 100644
--- a/src/device.c
+++ b/src/device.c
@@ -6040,9 +6040,8 @@ void device_bonding_complete(struct btd_device *device, uint8_t bdaddr_type,
 		 * treated as a newly discovered device.
 		 */
 		if (!device_is_paired(device, bdaddr_type) &&
-				!device_is_trusted(device)) {
+				!device_is_trusted(device))
 			btd_device_set_temporary(device, true);
-		}
 
 		device_bonding_failed(device, status);
 		return;