From: Jiejing Zhang Date: Thu, 7 Apr 2011 12:37:06 +0000 (+0800) Subject: Bluetooth: hci_uart: check the return value of recv() X-Git-Tag: v3.0-rc1~377^2~256^2^2~38^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78b4a56c28c096a1eb02f1d864eb450eb910e43d;p=pandora-kernel.git Bluetooth: hci_uart: check the return value of recv() 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 Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed