summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Pawlowski <jpawlowski@google.com>2015-01-30 18:55:58 -0800
committerMarcel Holtmann <marcel@holtmann.org>2015-01-31 05:03:23 +0100
commitc33fb9b4ef6c8e2472405606f3f9850415980c96 (patch)
treeb2d1ade568b0df195812f50cb157832dd460c214
parentfad7097228496c2ce0c6bef2fec87f8b74d5f6dd (diff)
downloadop-kernel-dev-c33fb9b4ef6c8e2472405606f3f9850415980c96.zip
op-kernel-dev-c33fb9b4ef6c8e2472405606f3f9850415980c96.tar.gz
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>
-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 a3a47c5..d084856 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) {
OpenPOWER on IntegriCloud