]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_uart: Fix speed selection
authorFrederic Danis <frederic.danis@linux.intel.com>
Thu, 18 Jun 2015 10:43:27 +0000 (12:43 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 18 Jun 2015 11:47:14 +0000 (13:47 +0200)
commit9dfb9e218bdcaa57b4dfc71978835f57f75c3060
treed717db9f42d95bcddeca27caafb45ec91d1d1283
parentc6698b406594137a9f00114625b14f672fe9bc3f
Bluetooth: hci_uart: Fix speed selection

hu->proto->*speed will always be used for all device where it is set.
But hu->*speed should be used if exist, so the test should be swapped.

The equivalent change is needed in bcm_setup() of hci_bcm.c.

Signed-off-by: Frederic Danis <frederic.danis@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c
drivers/bluetooth/hci_ldisc.c