From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEA5238F65F for ; Mon, 9 Mar 2026 13:06:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773061613; cv=none; b=acP40VGl+v+qSmbdGaFQ0mxQiF0vWwrH+2qQb94MB0WgF1pE2UdkLd/AdmIOQLmM01Gg/2FvEhV0R+y77JGLQsfqjSgYEFX64rpbnb+uCY5QuOPq3eloekI3ETbnPz/aRY4L8aNyPezBhR6uiH3f3NubR04JA+e/jvGRlZM0dCk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773061613; c=relaxed/simple; bh=xIIlMHQzzrYoFHXYTfkJtW5+XNMFN1Jwv4QrCoRw87E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EVQag+tUKEM5IJJbTGJE4k5o/Hy+8gRdvjqusjiqqlLYT5W0J66bVk0zTOOIFu9wYBafoNWzmp+fQLpQN/mBIERXPch/Z3VgXb8jKplyMomi886L/S8w0MqTAOI8uh51Vh1tBuvRqXxncWMmn8nVkm9z+cnM3sYZQ9WsLJM02y4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uLHhwbAI; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uLHhwbAI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9DCDC4CEF7; Mon, 9 Mar 2026 13:06:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773061613; bh=xIIlMHQzzrYoFHXYTfkJtW5+XNMFN1Jwv4QrCoRw87E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uLHhwbAI0srgv/1mcWFkquVwBcdfhLZlPK6f8Obsj7gHjFjbs0sodW4eQ+amEkSjL rpqCYsm0nBnii24GNk+Hnnm3lJpMih7yRZoHX0rMiAE/NSS4YNzutq7ybPo+LFuOmA 4BtQ6OdyBeNA8WaPmnA11JN+gVDUsxyI6Vo/EiMkc6CTgs+hvVHgQ7B2wM51/Cg2AY lN5E9IfNDC6xa54vyrq1QafC6aNrWtp/pUJSoJ37wShwYbuTnXQqY4IbVJE4ly5JFp bEyYUVG/47iWPJEnJbuzcqlsLi7Q5bKnR50RMVyU819pIL0uCF6oVJAKSXzjWWZ8f3 89Yh3ecVNq33w== From: Sasha Levin To: stable@vger.kernel.org Cc: Mariusz Skamra , Paul Menzel , Luiz Augusto von Dentz , Sasha Levin Subject: [PATCH 6.18.y] Bluetooth: Fix CIS host feature condition Date: Mon, 9 Mar 2026 09:06:50 -0400 Message-ID: <20260309130651.871521-1-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <2026030932-henchman-travesty-7e47@gregkh> References: <2026030932-henchman-travesty-7e47@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Mariusz Skamra [ Upstream commit 7cff9a40c6b0f72ccefdaf0ffe03cfac30348f51 ] 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: 709788b154ca ("Bluetooth: hci_core: Fix using {cis,bis}_capable for current settings") Cc: stable@vger.kernel.org Signed-off-by: Mariusz Skamra Reviewed-by: Paul Menzel Signed-off-by: Luiz Augusto von Dentz [ iso_capable() => cis_capable() ] Signed-off-by: Sasha Levin --- net/bluetooth/hci_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c index cc1d340a32c62..9f01837250a5e 100644 --- a/net/bluetooth/hci_sync.c +++ b/net/bluetooth/hci_sync.c @@ -4546,7 +4546,7 @@ static int hci_le_set_host_feature_sync(struct hci_dev *hdev) { struct hci_cp_le_set_host_feature cp; - if (!iso_capable(hdev)) + if (!cis_capable(hdev)) return 0; memset(&cp, 0, sizeof(cp)); -- 2.51.0