[PATCH BlueZ] device: Fix not marking svc_resolved when loaded from storage

Subsystems: the rest

STALE5001d

2 messages, 2 authors, 2013-02-01 · open the first message on its own page

[PATCH BlueZ] device: Fix not marking svc_resolved when loaded from storage

From: Vinicius Costa Gomes <hidden>
Date: 2013-02-01 17:37:16

When the device is loaded from storage, we should mark it as it
services were resolved.
---
 src/device.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/src/device.c b/src/device.c
index 452ccfe..49f8957 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1849,6 +1849,9 @@ next:
 								bt_uuid_strcmp);
 		}
 		g_strfreev(uuids);
+
+		/* Discovered services restored from storage */
+		device->svc_resolved = true;
 	}
 
 	/* Load device id */
-- 
1.8.1.1

Re: [PATCH BlueZ] device: Fix not marking svc_resolved when loaded from storage

From: Johan Hedberg <hidden>
Date: 2013-02-01 17:45:46

Hi Vinicius,

On Fri, Feb 01, 2013, Vinicius Costa Gomes wrote:
When the device is loaded from storage, we should mark it as it
services were resolved.
---
 src/device.c | 3 +++
 1 file changed, 3 insertions(+)
Applied. Thanks.

Johan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help