]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
Bluetooth: Set HCI_QUIRK_STRICT_DUPLICATE_FILTER for BTUSB_INTEL_NEW
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 2 Feb 2015 07:57:18 +0000 (23:57 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 2 Feb 2015 08:17:46 +0000 (10:17 +0200)
The Intel Snowfield Peak Bluetooth controllers use a strict scanning
filter policy that filters based on Bluetooth device addresses and
not on RSSI.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/btusb.c

index d084856cc350b018ab009fd4b730a77cabff7c1f..067a11c6829c5167f47bae2266a5e1fb9f54835a 100644 (file)
@@ -2713,6 +2713,7 @@ static int btusb_probe(struct usb_interface *intf,
                hdev->setup = btusb_setup_intel_new;
                hdev->hw_error = btusb_hw_error_intel;
                hdev->set_bdaddr = btusb_set_bdaddr_intel;
+               set_bit(HCI_QUIRK_STRICT_DUPLICATE_FILTER, &hdev->quirks);
        }
 
        if (id->driver_info & BTUSB_MARVELL)