[PATCH BlueZ v6 7/7] device: Set as non-temporary device that has matching profiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark as non-temporary a device that has matching profiles.
For the BAP broadcast case, this fixes the case where the broadcast
source was discovered and the remote endpoint was created and the sync
is performed after the timer for the device expired.
---
 src/device.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/device.c b/src/device.c
index ecd385cf8..57632b51e 100644
--- a/src/device.c
+++ b/src/device.c
@@ -3943,6 +3943,8 @@ static bool device_match_profile(struct btd_device *device,
 							bt_uuid_strcmp) == NULL)
 		return false;
 
+	btd_device_set_temporary(device, false);
+
 	return true;
 }
 
-- 
2.34.1




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux