summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_h4.c
diff options
context:
space:
mode:
authorMarcel Holtmann2015-10-08 03:06:53 +0200
committerJohan Hedberg2015-10-08 09:04:27 +0200
commit943cc592195ea458058c121d9c4d7481d0f28be1 (patch)
tree314fc8f985ade8eb5542b54bcb264f6030007efb /drivers/bluetooth/hci_h4.c
parentBluetooth: bpa10x: Add support for set_diag driver callback (diff)
downloadkernel-qcow2-linux-943cc592195ea458058c121d9c4d7481d0f28be1.tar.gz
kernel-qcow2-linux-943cc592195ea458058c121d9c4d7481d0f28be1.tar.xz
kernel-qcow2-linux-943cc592195ea458058c121d9c4d7481d0f28be1.zip
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>
Diffstat (limited to 'drivers/bluetooth/hci_h4.c')
-rw-r--r--drivers/bluetooth/hci_h4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_h4.c b/drivers/bluetooth/hci_h4.c
index eec3f28e4bb9..a6fce48da0fb 100644
--- a/drivers/bluetooth/hci_h4.c
+++ b/drivers/bluetooth/hci_h4.c
@@ -266,3 +266,4 @@ struct sk_buff *h4_recv_buf(struct hci_dev *hdev, struct sk_buff *skb,
return skb;
}
+EXPORT_SYMBOL_GPL(h4_recv_buf);