From: Luiz Augusto von Dentz <luiz.von.de...@intel.com> This adds handling for ServicesResolved signal which tells when BlueZ is done resolving the device services so the code will no longer ignore devices that got its services resolved after Paired signal. --- 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 6e4e499..c04d740 100644 --- a/plugins/hfp_hf_bluez5.c +++ b/plugins/hfp_hf_bluez5.c @@ -815,7 +815,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("ServicesResolved", name) != TRUE) return; device_changed(proxy, path); -- 2.9.3 _______________________________________________ ofono mailing list ofono@ofono.org https://lists.ofono.org/mailman/listinfo/ofono