summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btusb.c
diff options
context:
space:
mode:
authorJakub Pawlowski2015-03-17 17:04:15 +0100
committerJohan Hedberg2015-03-17 17:31:02 +0100
commit3d50d51a530d7c672cfbac03fef365b1fa7a244e (patch)
tree1c2aab4b5b9849c06f288324444e4dd8d3ef50f5 /drivers/bluetooth/btusb.c
parentBluetooth: Add simultaneous dual mode scan (diff)
downloadkernel-qcow2-linux-3d50d51a530d7c672cfbac03fef365b1fa7a244e.tar.gz
kernel-qcow2-linux-3d50d51a530d7c672cfbac03fef365b1fa7a244e.tar.xz
kernel-qcow2-linux-3d50d51a530d7c672cfbac03fef365b1fa7a244e.zip
Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_ATH3012
Atheros 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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index f6ef75f4d7cc..321bfeb2bc2f 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -3042,6 +3042,7 @@ static int btusb_probe(struct usb_interface *intf,
if (id->driver_info & BTUSB_ATH3012) {
hdev->set_bdaddr = btusb_set_bdaddr_ath3012;
+ set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);
set_bit(HCI_QUIRK_STRICT_DUPLICATE_FILTER, &hdev->quirks);
}