[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABBYNZJJJcjhwbDwYZxqxu-RHtyUd9T3Lvf-qEqgNfxfCsk+9w@mail.gmail.com>
Date: Wed, 2 Jul 2025 09:00:52 -0400
From: Luiz Augusto von Dentz <luiz.dentz@...il.com>
To: yang.li@...ogic.com
Cc: Marcel Holtmann <marcel@...tmann.org>, Johan Hedberg <johan.hedberg@...il.com>,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Bluetooth: hci_event: Hold PA sync conn when BIG sync established
Hi,
On Tue, Jul 1, 2025 at 11:12 PM Yang Li via B4 Relay
<devnull+yang.li.amlogic.com@...nel.org> wrote:
>
> From: Yang Li <yang.li@...ogic.com>
>
> Hold PA sync connection to prevent cleanup during hci_conn_timeout.
You will need to do a better job explaining what is the issue here.
> Signed-off-by: Yang Li <yang.li@...ogic.com>
> ---
> net/bluetooth/hci_event.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
> index e817c4a77f97..85ae1608e028 100644
> --- a/net/bluetooth/hci_event.c
> +++ b/net/bluetooth/hci_event.c
> @@ -6968,6 +6968,9 @@ static void hci_le_big_sync_established_evt(struct hci_dev *hdev, void *data,
>
> if (!ev->status) {
> conn->state = BT_CONNECTED;
> + /* Prevent cleanup in hci_conn_timeout. */
> + hci_conn_hold(conn);
> +
> set_bit(HCI_CONN_BIG_SYNC, &bis->flags);
> hci_debugfs_create_conn(conn);
> hci_conn_add_sysfs(conn);
>
> ---
> base-commit: 3bc46213b81278f3a9df0324768e152de71eb9fe
> change-id: 20250702-hold_pa_sync-91ca7a81adf0
>
> Best regards,
> --
> Yang Li <yang.li@...ogic.com>
>
>
--
Luiz Augusto von Dentz
Powered by blists - more mailing lists