Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Bluetooth: hci_conn: Fix not cleaning up Broadcaster/Broadcast Source

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>

+1 -1
+1 -1
net/bluetooth/hci_conn.c
··· 2259 2259 * the start periodic advertising and create BIG commands have 2260 2260 * been queued 2261 2261 */ 2262 - hci_conn_hash_list_state(hdev, bis_mark_per_adv, PA_LINK, 2262 + hci_conn_hash_list_state(hdev, bis_mark_per_adv, BIS_LINK, 2263 2263 BT_BOUND, &data); 2264 2264 2265 2265 /* Queue start periodic advertising and create BIG */