Searched hist:"2889 bdd0a9a195533c2103e7b39ab0de844d72f6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/bluetooth/ |
H A D | hci_sync.c | diff 2889bdd0a9a195533c2103e7b39ab0de844d72f6 Wed Jul 26 16:25:25 CDT 2023 Pauli Virtanen <pav@iki.fi> Bluetooth: hci_sync: delete CIS in BT_OPEN/CONNECT/BOUND when aborting
Dropped CIS that are in state BT_OPEN/BT_BOUND, and in state BT_CONNECT with HCI_CONN_CREATE_CIS unset, should be cleaned up immediately. Closing CIS ISO sockets should result to the hci_conn be deleted, so that potentially pending CIG removal can run.
hci_abort_conn cannot refer to them by handle, since their handle is still unset if Set CIG Parameters has not yet completed.
This fixes CIS not being terminated if the socket is shut down immediately after connection, so that the hci_abort_conn runs before Set CIG Parameters completes. See new BlueZ test "ISO Connect Close - Success"
Signed-off-by: Pauli Virtanen <pav@iki.fi> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
|