summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btusb.c
diff options
context:
space:
mode:
authorJakub Pawlowski2015-01-29 19:38:34 +0100
committerMarcel Holtmann2015-01-29 20:11:54 +0100
commit79f0c87d9f852940f285dff636a154971027b46e (patch)
treee9eceea4a606f71569ba793e4ade87ebb53a4d2e /drivers/bluetooth/btusb.c
parentBluetooth: ath3k: workaround the compatibility issue with xHCI controller (diff)
downloadkernel-qcow2-linux-79f0c87d9f852940f285dff636a154971027b46e.tar.gz
kernel-qcow2-linux-79f0c87d9f852940f285dff636a154971027b46e.tar.xz
kernel-qcow2-linux-79f0c87d9f852940f285dff636a154971027b46e.zip
Bluetooth: Set HCI_QUIRK_STRICT_DUPLICATE_FILTER for BTUSB_ATH3012
The Bluetooth controllers from Atheros use a strict scanning filter policy that filters based on Bluetooth device addresses and not on RSSI. So tell the core about this. Signed-off-by: Jakub Pawlowski <jpawlowski@google.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
-rw-r--r--drivers/bluetooth/btusb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index d114786490b1..3aa4b3c776b2 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -2731,8 +2731,10 @@ static int btusb_probe(struct usb_interface *intf,
if (id->driver_info & BTUSB_INTEL_BOOT)
set_bit(HCI_QUIRK_RAW_DEVICE, &hdev->quirks);
- if (id->driver_info & BTUSB_ATH3012)
+ if (id->driver_info & BTUSB_ATH3012) {
hdev->set_bdaddr = btusb_set_bdaddr_ath3012;
+ set_bit(HCI_QUIRK_STRICT_DUPLICATE_FILTER, &hdev->quirks);
+ }
if (id->driver_info & BTUSB_AMP) {
/* AMP controllers do not support SCO packets */