summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_h5.c
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2021-05-27 09:19:54 +0200
committerMarcel Holtmann <marcel@holtmann.org>2021-06-26 07:12:34 +0200
commit3011faa29bc6f45d1388b8588cb9c5a5154927e7 (patch)
tree841b4218dae02dee19ff47940edbac8c29b707b0 /drivers/bluetooth/hci_h5.c
parentBluetooth: mgmt: Fix the command returns garbage parameter value (diff)
downloadlinux-3011faa29bc6f45d1388b8588cb9c5a5154927e7.tar.xz
linux-3011faa29bc6f45d1388b8588cb9c5a5154927e7.zip
Bluetooth: hci_h5: Add RTL8822CS capabilities
RTL8822 chipset supports WBS, and this information is conveyed in btusb.c. However, the UART driver doesn't have this information just yet. Signed-off-by: Archie Pusaka <apusaka@chromium.org> Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_h5.c')
-rw-r--r--drivers/bluetooth/hci_h5.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c
index 27e96681d583..e0520639f4ba 100644
--- a/drivers/bluetooth/hci_h5.c
+++ b/drivers/bluetooth/hci_h5.c
@@ -906,10 +906,7 @@ static int h5_btrtl_setup(struct h5 *h5)
/* Give the device some time before the hci-core sends it a reset */
usleep_range(10000, 20000);
- /* Enable controller to do both LE scan and BR/EDR inquiry
- * simultaneously.
- */
- set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &h5->hu->hdev->quirks);
+ btrtl_set_quirks(h5->hu->hdev, btrtl_dev);
out_free:
btrtl_free(btrtl_dev);