All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] bluetooth: ignore error if driver returns -EALREADY
  2012-06-25  8:54 [PATCH] bluetooth: ignore error if driver returns -EALREADY Luiz Augusto von Dentz
@ 2012-06-22  7:47 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2012-06-22  7:47 UTC (permalink / raw)
  To: ofono

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

Hi Luiz,

On 06/25/2012 03:54 AM, Luiz Augusto von Dentz wrote:
> From: Luiz Augusto von Dentz<luiz.von.dentz@intel.com>
>
> ---
>   plugins/bluetooth.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>

Patch has been applied, thanks.

Regards,
-Denis

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

* [PATCH] bluetooth: ignore error if driver returns -EALREADY
@ 2012-06-25  8:54 Luiz Augusto von Dentz
  2012-06-22  7:47 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2012-06-25  8:54 UTC (permalink / raw)
  To: ofono

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

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

---
 plugins/bluetooth.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index dbf79eb..cb5fe24 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -275,7 +275,7 @@ static void bluetooth_probe(GSList *uuids, const char *path,
 			continue;
 
 		err = driver->probe(path, device, adapter, alias);
-		if (err == 0)
+		if (err == 0 || err == -EALREADY)
 			continue;
 
 		ofono_error("%s probe: %s (%d)", driver->name, strerror(-err),
-- 
1.7.10.2


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

end of thread, other threads:[~2012-06-25  8:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-25  8:54 [PATCH] bluetooth: ignore error if driver returns -EALREADY Luiz Augusto von Dentz
2012-06-22  7:47 ` 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.