From 8bb8aa512c8cada232743d6902723827516d5376 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 13 Nov 2012 14:28:42 +0200 Subject: [PATCH] core: Fix profile UUID matching for custom fd properties --- src/profile.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/profile.c b/src/profile.c index 562ef6da2..aed36fcf5 100644 --- a/src/profile.c +++ b/src/profile.c @@ -292,6 +292,10 @@ static void append_prop(gpointer a, gpointer b) struct prop_append_data *data = b; DBusMessageIter entry, value, *dict = data->dict; struct btd_device *dev = data->io->device; + struct ext_profile *ext = data->io->ext; + + if (strcasecmp(p->uuid, ext->uuid) != 0) + return; if (p->exists && !p->exists(p->uuid, dev, p->user_data)) return; -- 2.47.3