diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-04-12 01:14:25 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-04-24 07:03:37 +0200 |
commit | c14516faede33c2c31da45cf950d55dbff42962e (patch) | |
tree | 5ce3283dff31a35937e80aedb21cab06ffe8d223 /net/bluetooth/hci_conn.c | |
parent | Bluetooth: hci_conn: Add support for linking multiple hcon (diff) | |
download | linux-c14516faede33c2c31da45cf950d55dbff42962e.tar.xz linux-c14516faede33c2c31da45cf950d55dbff42962e.zip |
Bluetooth: hci_conn: Fix not matching by CIS ID
This fixes only matching CIS by address which prevents creating new hcon
if upper layer is requesting a specific CIS ID.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to '')
-rw-r--r-- | net/bluetooth/hci_conn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index d8466abbb36a..c215e983e287 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -1841,7 +1841,8 @@ struct hci_conn *hci_bind_cis(struct hci_dev *hdev, bdaddr_t *dst, { struct hci_conn *cis; - cis = hci_conn_hash_lookup_cis(hdev, dst, dst_type); + cis = hci_conn_hash_lookup_cis(hdev, dst, dst_type, qos->ucast.cig, + qos->ucast.cis); if (!cis) { cis = hci_conn_add(hdev, ISO_LINK, dst, HCI_ROLE_MASTER); if (!cis) |