]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit943cc592195ea458058c121d9c4d7481d0f28be1
tree314fc8f985ade8eb5542b54bcb264f6030007efb
parent881f7e86a1e0322fbda42c92a36b13c44120bca2
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