linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] device: Fix not marking svc_resolved when loaded from storage
@ 2013-02-01 17:37 Vinicius Costa Gomes
  2013-02-01 17:45 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Vinicius Costa Gomes @ 2013-02-01 17:37 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Vinicius Costa Gomes

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH BlueZ] device: Fix not marking svc_resolved when loaded from storage
  2013-02-01 17:37 [PATCH BlueZ] device: Fix not marking svc_resolved when loaded from storage Vinicius Costa Gomes
@ 2013-02-01 17:45 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2013-02-01 17:45 UTC (permalink / raw)
  To: Vinicius Costa Gomes; +Cc: linux-bluetooth

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-01 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-01 17:37 [PATCH BlueZ] device: Fix not marking svc_resolved when loaded from storage Vinicius Costa Gomes
2013-02-01 17:45 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).