This patch fixes the fact that if a broadcast socket is closed while it is still in BT_CONNECT state (that is before the BIG was successfully created), the connection will not be properly cleaned up - the bis_cleanup callback will not be called. If the socket is closed, even if the BIG was not yet created, the advertising set should still be terminated, and the conn should be removed from the hash list, so that when the BIG complete event arrives, no active connections will be found and the BIG will be terminated also. Iulia Tanasescu (1): Bluetooth: ISO: cleanup bound BISes net/bluetooth/iso.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) base-commit: 817efd3cad7481ce2ee25fac5108afecbad56228 -- 2.34.1