All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] hfp_hf_bluez5: Fix not considering that UUIDs change after creation
  2013-04-18 17:50 [PATCH] hfp_hf_bluez5: Fix not considering that UUIDs change after creation Vinicius Costa Gomes
@ 2013-04-18 13:39 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2013-04-18 13:39 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 364 bytes --]

Hi Vinicius,

On 04/18/2013 12:50 PM, Vinicius Costa Gomes wrote:
> For example, in the case of a incoming connection the device may be
> created without UUIDs and the property changed is emitted later.
> ---
>   plugins/hfp_hf_bluez5.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>

Patch has been applied, thanks.

Regards,
-Denis


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] hfp_hf_bluez5: Fix not considering that UUIDs change after creation
@ 2013-04-18 17:50 Vinicius Costa Gomes
  2013-04-18 13:39 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Vinicius Costa Gomes @ 2013-04-18 17:50 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 755 bytes --]

For example, in the case of a incoming connection the device may be
created without UUIDs and the property changed 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);
-- 
1.8.2.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-18 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-18 17:50 [PATCH] hfp_hf_bluez5: Fix not considering that UUIDs change after creation Vinicius Costa Gomes
2013-04-18 13:39 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.