]> asedeno.scripts.mit.edu Git - linux.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)
commit960ef1d72f60f1df927768b9818ece6d7d046d64
treed717db9f42d95bcddeca27caafb45ec91d1d1283
parent2a973dfada2bcd61e1ce31612677da1a9ecc2124
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