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)
commitfb776481c4ffd9bf8d4dc091ea66c3a93bdfcb35
treee68970debb2cb80cbaa4daf12c6cc37d9de0f9e2
parentc3327bde514d5945f5de1e28bed3eaa0c4d622ec
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