Skip to content

Commit 7cff9a4

Browse files
MariuszSkamraVudentz
authored andcommitted
Bluetooth: Fix CIS host feature condition
This fixes the condition for sending the LE Set Host Feature command. The command is sent to indicate host support for Connected Isochronous Streams in this case. It has been observed that the system could not initialize BIS-only capable controllers because the controllers do not support the command. As per Core v6.2 | Vol 4, Part E, Table 3.1 the command shall be supported if CIS Central or CIS Peripheral is supported; otherwise, the command is optional. Fixes: 709788b ("Bluetooth: hci_core: Fix using {cis,bis}_capable for current settings") Cc: stable@vger.kernel.org Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl> Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
1 parent 05761c2 commit 7cff9a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

net/bluetooth/hci_sync.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4592,7 +4592,7 @@ static int hci_le_set_host_features_sync(struct hci_dev *hdev)
45924592
{
45934593
int err;
45944594

4595-
if (iso_capable(hdev)) {
4595+
if (cis_capable(hdev)) {
45964596
/* Connected Isochronous Channels (Host Support) */
45974597
err = hci_le_set_host_feature_sync(hdev, 32,
45984598
(iso_enabled(hdev) ? 0x01 :

0 commit comments

Comments
 (0)