Re: [PATCH BlueZ] btio: Rescue lost errorneous numbers

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

 



Hi Claudio,

On Mon, Jul 23, 2012, Claudio Takahasi wrote:
> From: Paulo Alcantara <paulo.alcantara@xxxxxxxxxxxxx>
> 
> The BT_IO_ERROR_* flags are not used for anything else and we just
> loosing errorneous numbers set in the sockets that might be more
> useful for handling specific errors.
> 
> A use case would be disconnect errors that should not allow BlueZ to
> enable auto connections since the connection would never be possible in
> some cases.
> 
> This patch removes BT_IO_ERROR_* flags and use the errors set in the
> sockets instead. Now, the errors passed in connect/disconnect callbacks
> should contain proper error numbers passed to them.
> ---
>  btio/btio.c |   78 ++++++++++++++++++++++++++++++++++++----------------------
>  btio/btio.h |    7 -----
>  2 files changed, 48 insertions(+), 37 deletions(-)

Applied. Thanks.

Johan
--
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