[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251219-enable_pa_sync_lost_mask-v1-1-2769917f44e2@amlogic.com>
Date: Fri, 19 Dec 2025 10:43:09 +0800
From: Yang Li via B4 Relay <devnull+yang.li.amlogic.com@...nel.org>
To: Marcel Holtmann <marcel@...tmann.org>,
Johan Hedberg <johan.hedberg@...il.com>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>
Cc: linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org,
Yang Li <yang.li@...ogic.com>
Subject: [PATCH] Bluetooth: hci_sync: enable PA Sync Lost event
From: Yang Li <yang.li@...ogic.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@...ogic.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@...ogic.com>
Powered by blists - more mailing lists