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 AE4BC332633 for ; Mon, 9 Mar 2026 12:48:46 +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=1773060526; cv=none; b=Pk9XXTB1GBPuN1CdidCD0bn2b7BEhf1pF3R7+mngvKHV2biPhJTEGuoH4LyRKFbkbY/vs44cMqgM0YiflosbpAk6+myeDh0jHMgTOnyRFMubKN5CYpV75DukMQj01+Zc10r/fCC/fZXTu4rMVxfUL1kiFvnNxfwAeT7+jVeSKu8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773060526; c=relaxed/simple; bh=xmIoewIM84MR0+WgPM7dcoUSHWwYowUA7w6SVAoOqWQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OqI469OtS33fQNP8pg0bgrzYHYHE0d6Dd/f7RBCl/Z8ySUROT2gYmy+16aYpqElrVFcjWJ1qlZrkNrRAJh2wLlIDyYtO0QVedVk3FfYEYu3avSPRLujngatZRP9EW6lrZNVAg40yXsJHXlZkFQQU0dRhWQF7xoXDmwVs9vYqfF8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FAScvoOg; 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="FAScvoOg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C70C6C4CEF7; Mon, 9 Mar 2026 12:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773060526; bh=xmIoewIM84MR0+WgPM7dcoUSHWwYowUA7w6SVAoOqWQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FAScvoOgnhTMa0M+0O3DWV7doA2HUgr+NLcfI9Q/N2XmdX6ZCPZhN+yzzRfmkCHMM UmcXPpdVi84vyJcH+vM07pPTfcmByMenFJVtaFDmF/J10xRt5UPJkQz8SrIxRhy7LU kYG6ITDAIPnS+93yAQa2b5x3/5Par++JucYgXkvG9RfwPvJzgfvATV5UumUMCmvPAO MNzr86JlMpQnt657AejkNVyWeS8X3w4Tv6rbqeJcELMaM05LYreiHP44D0vxL+EtTb enOxVuG7zIN63HUx2cFa5ze4LMBTx0FdT1IuaYH6cx7VgOL/C08IfxICIRuXKxhdHQ DPSss162zYWrA== From: Sasha Levin To: stable@vger.kernel.org Cc: Mariusz Skamra , Paul Menzel , Luiz Augusto von Dentz , Sasha Levin Subject: [PATCH 6.19.y] Bluetooth: Fix CIS host feature condition Date: Mon, 9 Mar 2026 08:48:44 -0400 Message-ID: <20260309124844.862930-1-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <2026030931-absinthe-imbecile-9225@gregkh> References: <2026030931-absinthe-imbecile-9225@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 334eb4376a266..80b601e344ae3 100644 --- a/net/bluetooth/hci_sync.c +++ b/net/bluetooth/hci_sync.c @@ -4564,7 +4564,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