mirror of git://git.sysmocom.de/ofono
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.
This commit is contained in:
parent
a2d0f434fa
commit
456b8c9723
|
@ -744,7 +744,8 @@ static void property_changed(GDBusProxy *proxy, const char *name,
|
||||||
if (g_str_equal(BLUEZ_DEVICE_INTERFACE, interface) == FALSE)
|
if (g_str_equal(BLUEZ_DEVICE_INTERFACE, interface) == FALSE)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (g_str_equal("Paired", name) != TRUE)
|
if (g_str_equal("Paired", name) != TRUE &&
|
||||||
|
g_str_equal("UUIDs", name) != TRUE)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
modem_register_from_proxy(proxy, path);
|
modem_register_from_proxy(proxy, path);
|
||||||
|
|
Loading…
Reference in New Issue