Re: [PATCH] Bluetooth: hci_conn: hold conn for LE timeout work

Chengfeng Ye <[email protected]> Sat, 1 Aug 2026 22:54:16 +0800
Newsgroups org.kernel.vger.linux-bluetooth,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <CAAo+4rV0ncEcMGZVH+VHScJozqs5L4C3S-mW77s5GyRKeQ78Zg@mail.gmail.com>
Hi Luiz,

On Sat, Aug 1, 2026 at 3:25=E2=80=AFAM Luiz Augusto von Dentz
<[email protected]> wrote:
> We might be better off removing the le_conn_timeout completely and
> just make hci_le_create_conn_sync -> hci_le_directed_advertising_sync
> wait on the connection complete directly rather then using yet another
> work that can then race against the likes of hci_conn_del.

Thanks for the review, I have just sent a v2 patch to remove the
racing timer completely and let the hci_le_directed_advertising_sync
synchronously wait for the connection. Let me know if anything should
be further adjusted.

Best regards,
Chengfeng