summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2013-04-18 14:50:38 -0300
committerDenis Kenzior <denkenz@gmail.com>2013-04-18 08:37:17 -0500
commit456b8c9723b9b73c3ea4cadc8c6f84ca90675f9a (patch)
tree4ec3cf876c7ba6476bb4022a1628230f361d344d /plugins
parenta2d0f434fa1fb91bd7138ad2dd09b4b9dc5aa23b (diff)
downloadofono-456b8c9723b9b73c3ea4cadc8c6f84ca90675f9a.tar.bz2
hfp_hf_bluez5: UUIDs can change after Pairing
For example, in the case of a remote-initiated pairing, the device may be created and Paired first, then the UUID array is emitted later.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/hfp_hf_bluez5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index 2c67a215..2b9275b3 100644
--- a/plugins/hfp_hf_bluez5.c
+++ b/plugins/hfp_hf_bluez5.c
@@ -744,7 +744,8 @@ static void property_changed(GDBusProxy *proxy, const char *name,
if (g_str_equal(BLUEZ_DEVICE_INTERFACE, interface) == FALSE)
return;
- if (g_str_equal("Paired", name) != TRUE)
+ if (g_str_equal("Paired", name) != TRUE &&
+ g_str_equal("UUIDs", name) != TRUE)
return;
modem_register_from_proxy(proxy, path);