Re: [PATCH] Bluetooth: hci_uart: check the return value of recv()

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

 



Hi Jiejing,

* Jiejing Zhang <kzjeef@xxxxxxxxx> [2011-04-07 20:37:06 +0800]:

> Check the return value of hu->proto->recv() in hci_uart_tty_receive()
> the recv() may return error, check it, not add this to statistics.
> 
> Signed-off-by: Jiejing Zhang <jiejing.zhang@xxxxxxxxxxxxx>
> ---
>  drivers/bluetooth/hci_ath.c   |    6 +++++-
>  drivers/bluetooth/hci_ldisc.c |    6 ++++--
>  2 files changed, 9 insertions(+), 3 deletions(-)

Patch has been applied. Thanks.

-- 
Gustavo F. Padovan
http://profusion.mobi
--
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