]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_uart: Fix uninitialized alignment value
authorLoic Poulain <loic.poulain@gmail.com>
Sat, 29 Jul 2017 17:32:31 +0000 (19:32 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 31 Jul 2017 10:27:37 +0000 (13:27 +0300)
commitf27bf8733bfc4c891855d29569903ef6a6348fdd
treee68970debb2cb80cbaa4daf12c6cc37d9de0f9e2
parent53d013553b5b4187a955f07b74f0658977ae04ea
Bluetooth: hci_uart: Fix uninitialized alignment value

Force alignment value to the default one (1 byte) if uninitialized.
This fixes hci_ll serdev driver (alignment = 0) and avoid any further
issues with upcoming drivers.

Signed-off-by: Loic Poulain <loic.poulain@gmail.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/hci_h4.c