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)
commit9baee415460e602686500d825a86436daa27ac8a
tree1898aa2128fe82e22ac3e75ea86ba25654e34b6f
parentf8cad62002a7699fd05a23b558b980b5a77defe0
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