• Sascha Hauer's avatar
    Bluetooth: hci_mrvl: Wait for final ack before switching baudrate · a55b8964
    Sascha Hauer authored
    For the Marvell HCI UART we have to upload two firmware files. The first
    one is only for switching the baudrate of the device to a higher
    baudrate. After the baudrate switching firmware has been uploaded the
    device waits for a final ack (0x5a) before actually switching the
    baudrate. To send this final ack with the old baudrate give the hci
    ldisc workqueue a chance to run before switching the baudrate. Without
    this the final ack will never be received by the device and firmware
    upload fails.
    Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    a55b8964
hci_mrvl.c 7.99 KB