Bluetooth: ISO: Set CIS bit only for devices with CIS support
authorVlad Pruteanu <vlad.pruteanu@nxp.com>
Tue, 12 Sep 2023 06:33:29 +0000 (09:33 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 23 Oct 2023 17:59:26 +0000 (10:59 -0700)
commit5af69ab9bc623bd9293c5a931fb0827ed5201b5c
treeb7f03a3a501820918c97106a5dbf7c63eef43bbb
parenta97258dba7d298669899d86e5aecb9f718bee531
Bluetooth: ISO: Set CIS bit only for devices with CIS support

Currently the CIS bit that can be set by the host is set for any device
that has CIS or BIS support. In reality, devices that support BIS may not
allow that bit to be set and so, the HCI bring up fails for them.

This commit fixes this by only setting the bit for CIS capable devices.

Signed-off-by: Vlad Pruteanu <vlad.pruteanu@nxp.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_sync.c