zephyr/drivers
Johan Hedberg 935198e715 Bluetooth: Fix UART driver robustness when out of buffers
If we're out of buffers the UART driver would previously loose sync of
where the packet boundaries go, because it was using the buffer itself
to store and parse the HCI packet headers. This patch modifies the
UART driver to use stack variable for initial header parsing, thereby
being able to always determine how many remaining bytes there are and
cleanly discard the bytes until the beginning of the next packet.

Change-Id: I278f3fc0c983e6a2a6904356ef1af1d25c9f06e4
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-02-05 20:13:50 -05:00
..
bluetooth Bluetooth: Fix UART driver robustness when out of buffers 2016-02-05 20:13:50 -05:00
console console: Put the public API header in the right location 2016-02-05 20:13:48 -05:00
interrupt_controller First commit 2015-04-10 16:44:37 -07:00
pci pci: Put the public API header in the right location 2016-02-05 20:13:48 -05:00
random First commit 2015-04-10 16:44:37 -07:00
serial uart: Rename INTERRUPT_DRIVEN configuration option 2016-02-05 20:13:41 -05:00
timer Rename _SysIdleElapsedTicks to _sys_idle_elapsed_ticks 2016-02-05 20:13:44 -05:00
defs.objs First commit 2015-04-10 16:44:37 -07:00