We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5a46db commit 0eb4bfeCopy full SHA for 0eb4bfe
subsys/bluetooth/host/iso.c
@@ -777,8 +777,9 @@ static void bt_iso_chan_disconnected(struct bt_iso_chan *chan)
777
778
bt_iso_chan_set_state(chan, BT_ISO_BOUND);
779
780
- /* Unbind if acting as slave */
781
- if (chan->conn->role == BT_HCI_ROLE_SLAVE) {
+ /* Unbind if acting as slave or ACL has been disconnected */
+ if (chan->conn->role == BT_HCI_ROLE_SLAVE ||
782
+ chan->conn->iso.acl->state == BT_CONN_DISCONNECTED) {
783
bt_iso_chan_unbind(chan);
784
}
785
0 commit comments