From: Marcel Holtmann Date: Mon, 2 Feb 2015 07:57:18 +0000 (-0800) Subject: Bluetooth: Set HCI_QUIRK_STRICT_DUPLICATE_FILTER for BTUSB_INTEL_NEW X-Git-Tag: v4.0-rc1~133^2~73^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b970c5ba9d8bbaed019c15115d605deaee18bcfd;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Johan Hedberg --- diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index d084856..067a11c 100644 --- a/drivers/bluetooth/btusb.c +++ b/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)