Skip to content

Commit a0d6f30

Browse files
Vudentznashif
authored andcommitted
Bluetooth: conn: Fix unbalance reference when an ISO has been connected
This fixes a regression introduced by 4350021 which prevents references to be properly release when there is an ISO connection. Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent bf894b8 commit a0d6f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/host/conn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ struct bt_conn *conn_lookup_iso(struct bt_conn *conn)
15041504
return iso_conn;
15051505
}
15061506

1507-
if (conn->iso.acl == conn) {
1507+
if (iso_conn->iso.acl == conn) {
15081508
return iso_conn;
15091509
}
15101510

0 commit comments

Comments
 (0)