From 456b8c9723b9b73c3ea4cadc8c6f84ca90675f9a Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Thu, 18 Apr 2013 14:50:38 -0300 Subject: [PATCH] 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. --- plugins/hfp_hf_bluez5.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c index 2c67a21..2b9275b 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); -- 2.7.4