zephyr/drivers/bluetooth
Johan Hedberg cc2d5f8a45 Bluetooth: drivers: h4: Fix uart_fifo_read return value handling
Make sure negative error returns from uart_fifo_read() are correctly
handled.

In the same go, the logic of reading packet headers (ACL/event/ISO) is
refactored into its own helper function. This also fixes having an
appropriate name for the variable that tracks how many header bytes have
already been read (it was called "to_read" and now it's called
"bytes_read").

Fixes #39805

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2021-11-10 14:17:50 +01:00
..
hci Bluetooth: drivers: h4: Fix uart_fifo_read return value handling 2021-11-10 14:17:50 +01:00
CMakeLists.txt drivers: bluetooth: build as static library 2021-08-17 06:06:03 -04:00
Kconfig drivers: create BT_DRIVERS Kconfig entry 2021-09-28 12:13:23 +02:00
util.h