Bluetooth: hci_conn: Fix not cleaning up Broadcaster/Broadcast Source
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 29 Jul 2025 16:11:09 +0000 (12:11 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 15 Aug 2025 13:44:49 +0000 (09:44 -0400)
This fixes Broadcaster/Broadcast Source not sending HCI_OP_LE_TERM_BIG
because HCI_CONN_PER_ADV where not being set.

Fixes: a7bcffc673de ("Bluetooth: Add PA_LINK to distinguish BIG sync and PA sync connections")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_conn.c

index f8b20b609a03941d6065fa1d96ed2ee343cb7857..ab6fe5b0cc0fe1a7f8d29afb3ebbff927c758861 100644 (file)
@@ -2259,7 +2259,7 @@ struct hci_conn *hci_connect_bis(struct hci_dev *hdev, bdaddr_t *dst,
         * the start periodic advertising and create BIG commands have
         * been queued
         */
-       hci_conn_hash_list_state(hdev, bis_mark_per_adv, PA_LINK,
+       hci_conn_hash_list_state(hdev, bis_mark_per_adv, BIS_LINK,
                                 BT_BOUND, &data);
 
        /* Queue start periodic advertising and create BIG */