2013-02-01 17:37:16

by Vinicius Costa Gomes

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

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



2013-02-01 17:45:46

by Johan Hedberg

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

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