OSDN Git Service

core: Fix emitting empty Device1.UUIDs property
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 21 Aug 2013 11:06:09 +0000 (14:06 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 3 Sep 2013 08:17:28 +0000 (11:17 +0300)
commit39ab4080b66542899577616396b81707c57f1f96
treef4d6a27826ac877600e312bb3f4c71bb5ab671fd
parent963d6f089acb5325753b6d59e2061e1f933472ab
core: Fix emitting empty Device1.UUIDs property

In case there is a incoming connection but services has not been
resolved the UUID of the profile being connected is automatically added
using btd_device_add_uuid which does update uuids not eir_uuids which is
used if svc_resolved is false.

To fix this the code will now fallback to uuids field whenever eir_uuids is
empty so uuids added with btd_device_add_uuid previous to services being
resolved should appear in UUIDs property.
src/device.c