]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: bpa10x: Use h4_recv_buf helper for frame reassembly
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 8 Oct 2015 01:06:53 +0000 (03:06 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 8 Oct 2015 07:04:27 +0000 (10:04 +0300)
commitac4d123d99be04752150266d16be86655fe20b60
tree314fc8f985ade8eb5542b54bcb264f6030007efb
parent07e1aa7b142ae8fd0a1f174447e528a8608f23fe
Bluetooth: bpa10x: Use h4_recv_buf helper for frame reassembly

The manually coded frame reassembly is actually broken. The h4_recv_buf
helper from the UART driver is a perfect fit for frame reassembly for
this driver. So just export that function and use it here as well.

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