Bluetooth: ISO: Fix BIS cleanup
authorIulia Tanasescu <iulia.tanasescu@nxp.com>
Wed, 6 Sep 2023 13:59:54 +0000 (16:59 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 23 Oct 2023 17:54:06 +0000 (10:54 -0700)
commita254b90c9aac3d3d938a07e019773e35a977451b
treec0297b67341ccf503baece1add490e555ff7c94a
parentd6e48462e88fe7efc78b455ecde5b0ca43ec50b7
Bluetooth: ISO: Fix BIS cleanup

This fixes the master BIS cleanup procedure - as opposed to CIS cleanup,
no HCI disconnect command should be issued. A master BIS should only be
terminated by disabling periodic and extended advertising, and terminating
the BIG.

In case of a Broadcast Receiver, all BIS and PA connections can be
cleaned up by calling hci_conn_failed, since it contains all function
calls that are necessary for successful cleanup.

Signed-off-by: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci_sync.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_sync.c