Bluetooth: Set HCI_QUIRK_STRICT_DUPLICATE_FILTER for BTUSB_INTEL
authorJakub Pawlowski <jpawlowski@google.com>
Sat, 31 Jan 2015 02:55:58 +0000 (18:55 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 31 Jan 2015 04:03:23 +0000 (05:03 +0100)
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>
drivers/bluetooth/btusb.c

index a3a47c50f6bc0878af826ed18bed6c99a62b0e58..d084856cc350b018ab009fd4b730a77cabff7c1f 100644 (file)
@@ -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) {