Bluetooth: hci_event: Fix not marking Broadcast Sink BIS as connected
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 27 Jun 2025 15:19:02 +0000 (11:19 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 3 Jul 2025 15:37:43 +0000 (11:37 -0400)
commitc7349772c268ec3c91d83cbfbbcf63f1bd7c256c
tree0d5b46d839b7a78f41ef2f07c122e9d2fd729560
parent314d30b1508682e27c8a324096262c66f23455d9
Bluetooth: hci_event: Fix not marking Broadcast Sink BIS as connected

Upon receiving HCI_EVT_LE_BIG_SYNC_ESTABLISHED with status 0x00
(success) the corresponding BIS hci_conn state shall be set to
BT_CONNECTED otherwise they will be left with BT_OPEN which is invalid
at that point, also create the debugfs and sysfs entries following the
same logic as the likes of Broadcast Source BIS and CIS connections.

Fixes: f777d8827817 ("Bluetooth: ISO: Notify user space about failed bis connections")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_event.c