summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorVic Wei <vwei@codeaurora.org>2018-03-28 17:28:47 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2018-04-01 20:43:02 +0200
commit96e58d368fa6c9419fa1fd724a50b7ed900a78d2 (patch)
tree06b6ccb679cf12f7ace8b62fa27b6ea5f8c15722 /drivers/bluetooth
parentBluetooth: btrsi: remove unused including <linux/version.h> (diff)
downloadlinux-96e58d368fa6c9419fa1fd724a50b7ed900a78d2.tar.xz
linux-96e58d368fa6c9419fa1fd724a50b7ed900a78d2.zip
Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_QCA_ROME
QCA Rome controllers can do both LE scan and BR/EDR inquiry at once. Signed-off-by: Vic Wei <vwei@codeaurora.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/btusb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index c701443de3e7..c8c8b0b8d333 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -3063,6 +3063,7 @@ static int btusb_probe(struct usb_interface *intf,
if (id->driver_info & BTUSB_QCA_ROME) {
data->setup_on_usb = btusb_setup_qca;
hdev->set_bdaddr = btusb_set_bdaddr_ath3012;
+ set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);
}
#ifdef CONFIG_BT_HCIBTUSB_RTL