Thread (18 messages) 18 messages, 4 authors, 2012-10-01

Re: [PATCH BlueZ v7 7/9] core: Re-connect for ECONNRESET or ECONNABORTED

From: Claudio Takahasi <hidden>
Date: 2012-09-27 18:20:14

Hi Johan:

On Thu, Sep 27, 2012 at 4:41 AM, Johan Hedberg [off-list ref] wrote:
Hi,

On Tue, Sep 25, 2012, João Paulo Rechi Vita wrote:
quoted
+     /*
+      * Keep scanning/re-connection active if disconnection reason
+      * is page timeout, remote user terminated connection or local
+      * initiated disconnection.
+      */
+     if (err == ETIMEDOUT || err == ECONNRESET || err == ECONNABORTED)
+             adapter_connect_list_add(device_get_adapter(device), device);
Page timeouts have always been reported through EHOSTDOWN so either the
comment or the code is wrong here.

Johan
The comment is wrong: s/page/connection

Regards,
Claudio
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help