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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johan:

On Thu, Sep 27, 2012 at 4:41 AM, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote:
> Hi,
>
> On Tue, Sep 25, 2012, João Paulo Rechi Vita wrote:
>> +     /*
>> +      * 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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux