diff options
author | Jakub Pawlowski <jpawlowski@google.com> | 2015-01-29 13:38:34 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-01-29 14:11:54 -0500 |
commit | 79f0c87d9f852940f285dff636a154971027b46e (patch) | |
tree | e9eceea4a606f71569ba793e4ade87ebb53a4d2e /drivers/bluetooth/btusb.c | |
parent | c561a5753dd631920c4459a067d22679b3d110d6 (diff) |
Bluetooth: Set HCI_QUIRK_STRICT_DUPLICATE_FILTER for BTUSB_ATH3012
The Bluetooth controllers from Atheros 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>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
-rw-r--r-- | drivers/bluetooth/btusb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index d114786490b1..3aa4b3c776b2 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c | |||
@@ -2731,8 +2731,10 @@ static int btusb_probe(struct usb_interface *intf, | |||
2731 | if (id->driver_info & BTUSB_INTEL_BOOT) | 2731 | if (id->driver_info & BTUSB_INTEL_BOOT) |
2732 | set_bit(HCI_QUIRK_RAW_DEVICE, &hdev->quirks); | 2732 | set_bit(HCI_QUIRK_RAW_DEVICE, &hdev->quirks); |
2733 | 2733 | ||
2734 | if (id->driver_info & BTUSB_ATH3012) | 2734 | if (id->driver_info & BTUSB_ATH3012) { |
2735 | hdev->set_bdaddr = btusb_set_bdaddr_ath3012; | 2735 | hdev->set_bdaddr = btusb_set_bdaddr_ath3012; |
2736 | set_bit(HCI_QUIRK_STRICT_DUPLICATE_FILTER, &hdev->quirks); | ||
2737 | } | ||
2736 | 2738 | ||
2737 | if (id->driver_info & BTUSB_AMP) { | 2739 | if (id->driver_info & BTUSB_AMP) { |
2738 | /* AMP controllers do not support SCO packets */ | 2740 | /* AMP controllers do not support SCO packets */ |