]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Bluetooth: hci_sync: enable PA Sync Lost event
authorYang Li <yang.li@amlogic.com>
Fri, 19 Dec 2025 02:43:09 +0000 (10:43 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 9 Jan 2026 21:03:57 +0000 (16:03 -0500)
Enable the PA Sync Lost event mask to ensure PA sync loss is properly
reported and handled.

Fixes: 485e0626e587 ("Bluetooth: hci_event: Fix not handling PA Sync Lost event")
Signed-off-by: Yang Li <yang.li@amlogic.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_sync.c

index a9f5b1a68356ea9ecefc4232c83a1366caf8d6be..cbc3a75d7326233051dcf4badd45e935421c7743 100644 (file)
@@ -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 */