summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btusb.c
diff options
context:
space:
mode:
authorJakub Pawlowski2015-03-17 17:04:17 +0100
committerJohan Hedberg2015-03-17 17:31:05 +0100
commit49c989a0d6cd097f00f45e5c180bf3e315ca2bfa (patch)
treedca84cee413adc457f2b72952c22bb607fc5800b /drivers/bluetooth/btusb.c
parentBluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_INTEL (diff)
downloadkernel-qcow2-linux-49c989a0d6cd097f00f45e5c180bf3e315ca2bfa.tar.gz
kernel-qcow2-linux-49c989a0d6cd097f00f45e5c180bf3e315ca2bfa.tar.xz
kernel-qcow2-linux-49c989a0d6cd097f00f45e5c180bf3e315ca2bfa.zip
Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_CSR
CSR controllers can do both LE scan and BR/EDR inquiry at once. Signed-off-by: Jakub Pawlowski <jpawlowski@google.com> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
-rw-r--r--drivers/bluetooth/btusb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 21df7b231f0a..708b6574d805 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -3087,6 +3087,8 @@ static int btusb_probe(struct usb_interface *intf,
/* Fake CSR devices with broken commands */
if (bcdDevice <= 0x100)
hdev->setup = btusb_setup_csr;
+
+ set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);
}
if (id->driver_info & BTUSB_SNIFFER) {