Commit 3ba486c5 authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz
Browse files

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: a7bcffc6 ("Bluetooth: Add PA_LINK to distinguish BIG sync and PA sync connections")
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent d36349ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */