]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_bcm: Prevent early baudrate setting in autobaud mode
authorHakan Jansson <hakan.jansson@infineon.com>
Thu, 30 Jun 2022 12:45:23 +0000 (14:45 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Jul 2022 00:12:09 +0000 (17:12 -0700)
commit54bbe4789c224050654b2b1c699a270b9c4194e1
tree1898aa2128fe82e22ac3e75ea86ba25654e34b6f
parent7e039cf8e20d9d4ff57a4f3058b6cda0e97448d2
Bluetooth: hci_bcm: Prevent early baudrate setting in autobaud mode

Always prevent trying to set device baudrate before calling setup() when
using autobaud mode.

This was previously happening for devices which had device specific data
with member no_early_set_baudrate set to 0.

Signed-off-by: Hakan Jansson <hakan.jansson@infineon.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/hci_bcm.c