summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@gmail.com>2014-01-18 13:42:59 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2014-01-18 15:19:33 +0200
commitd471ce2d779eedca5f974f20359b5cea18805e79 (patch)
tree954cb1eb20a46548fbd3333e9ae7524bd9504893 /plugins
parent7adf8d09b4ba060ecb223e36fd6678aa52ab0af1 (diff)
downloadbluez-d471ce2d779eedca5f974f20359b5cea18805e79.tar.gz
neard: Set device UUIDs from EIR
Handle UUIDs received in EIR from neard in same way as UUIDs received on device discovery.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/neard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/neard.c b/plugins/neard.c
index 35fdaeb57..da6e37c6b 100644
--- a/plugins/neard.c
+++ b/plugins/neard.c
@@ -643,7 +643,8 @@ static void store_params(struct btd_adapter *adapter, struct btd_device *device,
btd_device_device_set_name(device, params->name);
}
- /* TODO handle UUIDs? */
+ if (params->services)
+ device_add_eir_uuids(device, params->services);
if (params->hash) {
btd_adapter_add_remote_oob_data(adapter, &params->address,