Jelajahi Sumber

Bluetooth: Set HCI_QUIRK_STRICT_DUPLICATE_FILTER for BTUSB_INTEL_NEW

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>
Marcel Holtmann 10 tahun lalu
induk
melakukan
b970c5ba9d
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      drivers/bluetooth/btusb.c

+ 1 - 0
drivers/bluetooth/btusb.c

@@ -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)