Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 78b4a56c authored by Jiejing Zhang's avatar Jiejing Zhang Committed by Gustavo F. Padovan
Browse files

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: default avatarJiejing Zhang <jiejing.zhang@freescale.com>
Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent e1ba1f15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment