summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorJakub Pawlowski <jpawlowski@google.com>2015-01-31 03:55:58 +0100
committerMarcel Holtmann <marcel@holtmann.org>2015-01-31 05:03:23 +0100
commitc33fb9b4ef6c8e2472405606f3f9850415980c96 (patch)
treeb2d1ade568b0df195812f50cb157832dd460c214 /drivers/bluetooth
parentBluetooth: btusb: Use wait_on_bit_timeout() for BTUSB_BOOTING (diff)
downloadlinux-c33fb9b4ef6c8e2472405606f3f9850415980c96.tar.xz
linux-c33fb9b4ef6c8e2472405606f3f9850415980c96.zip
Bluetooth: Set HCI_QUIRK_STRICT_DUPLICATE_FILTER for BTUSB_INTEL
The Bluetooth controllers from Intel 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')
-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 a3a47c50f6bc..d084856cc350 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -2705,6 +2705,7 @@ static int btusb_probe(struct usb_interface *intf,
if (id->driver_info & BTUSB_INTEL) {
hdev->setup = btusb_setup_intel;
hdev->set_bdaddr = btusb_set_bdaddr_intel;
+ set_bit(HCI_QUIRK_STRICT_DUPLICATE_FILTER, &hdev->quirks);
}
if (id->driver_info & BTUSB_INTEL_NEW) {