Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_QCA_ROME
authorVic Wei <vwei@codeaurora.org>
Wed, 28 Mar 2018 15:28:47 +0000 (08:28 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 1 Apr 2018 18:43:02 +0000 (21:43 +0300)
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>
drivers/bluetooth/btusb.c

index c701443..c8c8b0b 100644 (file)
@@ -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