summaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorMariusz Skamra <mariusz.skamra@codecoup.pl>2026-02-12 14:46:46 +0100
committerSasha Levin <sashal@kernel.org>2026-03-12 07:09:39 -0400
commit7d0822ed11a9ce83fd47a6651f24f8f11421442d (patch)
tree650bf9b6f8f8d3fc6921a01a69b344ab9aed519d /net/bluetooth
parent90f821740097033649864ae3dd1e59ad470915c5 (diff)
downloadlinux-7d0822ed11a9ce83fd47a6651f24f8f11421442d.tar.gz
linux-7d0822ed11a9ce83fd47a6651f24f8f11421442d.tar.bz2
linux-7d0822ed11a9ce83fd47a6651f24f8f11421442d.zip
Bluetooth: Fix CIS host feature condition
commit 7cff9a40c6b0f72ccefdaf0ffe03cfac30348f51 upstream. 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 <mariusz.skamra@codecoup.pl> Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> [ iso_capable() => cis_capable() ] Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/hci_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
index 334eb4376a26..80b601e344ae 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));