Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_CSR
authorJakub Pawlowski <jpawlowski@google.com>
Tue, 17 Mar 2015 16:04:17 +0000 (09:04 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 17 Mar 2015 16:31:05 +0000 (18:31 +0200)
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>
drivers/bluetooth/btusb.c

index 21df7b2..708b657 100644 (file)
@@ -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) {