mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
c11548427d
commit
49c989a0d6
|
@ -3087,6 +3087,8 @@ static int btusb_probe(struct usb_interface *intf,
|
||||||
/* Fake CSR devices with broken commands */
|
/* Fake CSR devices with broken commands */
|
||||||
if (bcdDevice <= 0x100)
|
if (bcdDevice <= 0x100)
|
||||||
hdev->setup = btusb_setup_csr;
|
hdev->setup = btusb_setup_csr;
|
||||||
|
|
||||||
|
set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (id->driver_info & BTUSB_SNIFFER) {
|
if (id->driver_info & BTUSB_SNIFFER) {
|
||||||
|
|
Loading…
Reference in New Issue