Bluetooth: bpa10x: Use separate h4_recv_buf helper
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 24 Mar 2018 09:19:53 +0000 (10:19 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 1 Apr 2018 12:25:32 +0000 (14:25 +0200)
commit07eb96a5a7b083c988a2c7b0663e958e392f18c7
treeceb86d8188891452b947fffa8e52728be48b4730
parentf9d7c8fd2630d1d15dbc23e6ff6f9f0b54194ee4
Bluetooth: bpa10x: Use separate h4_recv_buf helper

When adding the alignment and padding support for H:4 packet processing
for the Nokia driver, it broke the h4_recv_buf usage within bpa10x
driver. To fix this use a separate helper function and placing it into a
dedicated h4_recv.h header file.

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/h4_recv.h [new file with mode: 0644]