]> 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)
commit9a9a4ac99da331081a07ea63987875215edeee80
treee68970debb2cb80cbaa4daf12c6cc37d9de0f9e2
parent900e5a0cd05987e558967d3a494d9f8208ad83f5
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