Bluetooth: hci_uart: Introduce h4_recv_buf helper function
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 5 Apr 2015 04:59:24 +0000 (21:59 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Apr 2015 16:47:09 +0000 (18:47 +0200)
commite1a38d70d8e07db6fbf93621f289c08bbcca0ba3
tree295b065ba37ffeb3d1a9606fd22111c616054ae3
parent9d1c40ebb66416f166b92c6828af48549ca99307
Bluetooth: hci_uart: Introduce h4_recv_buf helper function

The h4_recv_buf helper function can be used for receiving H:4 packets
out of a TTY stream. It is self-contained and allows for reuse by all
HCI UART protocols.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/hci_h4.c
drivers/bluetooth/hci_uart.h