[PATCH] Bluetooth: hci_sync: enable PA Sync Lost event

Yang Li via B4 Relay posted 1 patch 1 month, 3 weeks ago
net/bluetooth/hci_sync.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] Bluetooth: hci_sync: enable PA Sync Lost event
Posted by Yang Li via B4 Relay 1 month, 3 weeks ago
From: Yang Li <yang.li@amlogic.com>

Enable the PA Sync Lost event mask to ensure
PA sync loss is properly reported and handled.

Fixes 59e5396a2579 ("Bluetooth: hci_event: Fix not handling PA Sync Lost event")

Signed-off-by: Yang Li <yang.li@amlogic.com>
---
 net/bluetooth/hci_sync.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
index 5de98be752bc..3f04510b806b 100644
--- a/net/bluetooth/hci_sync.c
+++ b/net/bluetooth/hci_sync.c
@@ -4420,6 +4420,7 @@ static int hci_le_set_event_mask_sync(struct hci_dev *hdev)
 	if (bis_capable(hdev)) {
 		events[1] |= 0x20;	/* LE PA Report */
 		events[1] |= 0x40;	/* LE PA Sync Established */
+		events[1] |= 0x80;	/* LE PA Sync Lost */
 		events[3] |= 0x04;	/* LE Create BIG Complete */
 		events[3] |= 0x08;	/* LE Terminate BIG Complete */
 		events[3] |= 0x10;	/* LE BIG Sync Established */

---
base-commit: 98246938a0e66e4100e95b6b7881843a9a4e4882
change-id: 20251219-enable_pa_sync_lost_mask-ae0fb71f29f3

Best regards,
-- 
Yang Li <yang.li@amlogic.com>
Re: [PATCH] Bluetooth: hci_sync: enable PA Sync Lost event
Posted by Yang Li 1 month ago
Hi,

Just a gentle ping regarding this patch.


Best regards,

Yang


> [ EXTERNAL EMAIL ]
>
> From: Yang Li <yang.li@amlogic.com>
>
> Enable the PA Sync Lost event mask to ensure
> PA sync loss is properly reported and handled.
>
> Fixes 59e5396a2579 ("Bluetooth: hci_event: Fix not handling PA Sync Lost event")
>
> Signed-off-by: Yang Li <yang.li@amlogic.com>
> ---
>   net/bluetooth/hci_sync.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
> index 5de98be752bc..3f04510b806b 100644
> --- a/net/bluetooth/hci_sync.c
> +++ b/net/bluetooth/hci_sync.c
> @@ -4420,6 +4420,7 @@ static int hci_le_set_event_mask_sync(struct hci_dev *hdev)
>          if (bis_capable(hdev)) {
>                  events[1] |= 0x20;      /* LE PA Report */
>                  events[1] |= 0x40;      /* LE PA Sync Established */
> +               events[1] |= 0x80;      /* LE PA Sync Lost */
>                  events[3] |= 0x04;      /* LE Create BIG Complete */
>                  events[3] |= 0x08;      /* LE Terminate BIG Complete */
>                  events[3] |= 0x10;      /* LE BIG Sync Established */
>
> ---
> base-commit: 98246938a0e66e4100e95b6b7881843a9a4e4882
> change-id: 20251219-enable_pa_sync_lost_mask-ae0fb71f29f3
>
> Best regards,
> --
> Yang Li <yang.li@amlogic.com>
>
>