summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorChethan T N <chethan.tumkur.narayan@intel.com>2023-03-21 05:33:10 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-04-24 06:57:44 +0200
commit77f542b10c535c9a93bf8afdd2665524935807c2 (patch)
tree63a130b1ad7f4d6fdd6187a3f0333daeeda5ef9c /drivers/bluetooth
parentBluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6855 (diff)
downloadlinux-77f542b10c535c9a93bf8afdd2665524935807c2.tar.xz
linux-77f542b10c535c9a93bf8afdd2665524935807c2.zip
Bluetooth: btintel: Add LE States quirk support
Basically all Intel controllers support both Central/Peripheral LE states. This patch enables the LE States quirk by default on all Solar and Magnertor Intel controllers. Signed-off-by: Chethan T N <chethan.tumkur.narayan@intel.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/btintel.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/bluetooth/btintel.c b/drivers/bluetooth/btintel.c
index af774688f1c0..7a6dc05553f1 100644
--- a/drivers/bluetooth/btintel.c
+++ b/drivers/bluetooth/btintel.c
@@ -2684,9 +2684,8 @@ static int btintel_setup_combined(struct hci_dev *hdev)
*/
set_bit(HCI_QUIRK_WIDEBAND_SPEECH_SUPPORTED, &hdev->quirks);
- /* Valid LE States quirk for GfP */
- if (INTEL_HW_VARIANT(ver_tlv.cnvi_bt) == 0x18)
- set_bit(HCI_QUIRK_VALID_LE_STATES, &hdev->quirks);
+ /* Apply LE States quirk from solar onwards */
+ set_bit(HCI_QUIRK_VALID_LE_STATES, &hdev->quirks);
/* Setup MSFT Extension support */
btintel_set_msft_opcode(hdev,