Re: [PATCH resubmit] Bluetooth: hci_h5: avoid sending two SYNC messages
From: patchwork-bot+bluetooth
Date: Thu Oct 02 2025 - 17:11:08 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Mon, 29 Sep 2025 15:14:41 -0700 you wrote:
> Previously, h5_open() called h5_link_control() to send a SYNC message.
> But h5_link_control() only enqueues the packet and requires the caller
> to call hci_uart_tx_wakeup(). Thus, after H5_SYNC_TIMEOUT ran out
> (100ms), h5_timed_event() would be called and, realizing that the state
> was still H5_UNINITIALIZED, it would re-enqueue the SYNC and call
> hci_uart_tx_wakeup(). Consequently, two SYNC packets would be sent and
> initialization would unnecessarily wait for 100ms.
>
> [...]
Here is the summary with links:
- [resubmit] Bluetooth: hci_h5: avoid sending two SYNC messages
https://git.kernel.org/bluetooth/bluetooth-next/c/aadd7d40f7ea
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html