summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btbcm.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-04-05 22:52:15 -0700
committerMarcel Holtmann <marcel@holtmann.org>2015-04-07 18:47:11 +0200
commit941521e24fa8019b94eedecdd0b39942b0060399 (patch)
treeb012ad0384cf61f68d6d4e9d35cc5f8f1be697cb /drivers/bluetooth/btbcm.c
parentc2bfb10092ece07f9e9cf5096cfeec0ef92a97c5 (diff)
downloadblackbird-obmc-linux-941521e24fa8019b94eedecdd0b39942b0060399.tar.gz
blackbird-obmc-linux-941521e24fa8019b94eedecdd0b39942b0060399.zip
Bluetooth: btusb: Move Broadcom quirk setting into support module
The quirks for Broadcom devices can be set from the setup function and to keep the code simple, just move them into Broadcom support module. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/btbcm.c')
-rw-r--r--drivers/bluetooth/btbcm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
index 17565ab610f4..c90401261ab4 100644
--- a/drivers/bluetooth/btbcm.c
+++ b/drivers/bluetooth/btbcm.c
@@ -327,6 +327,8 @@ reset:
btbcm_check_bdaddr(hdev);
+ set_bit(HCI_QUIRK_STRICT_DUPLICATE_FILTER, &hdev->quirks);
+
done:
release_firmware(fw);
@@ -347,6 +349,8 @@ int btbcm_setup_apple(struct hci_dev *hdev)
get_unaligned_le16(skb->data + 5));
kfree_skb(skb);
+ set_bit(HCI_QUIRK_STRICT_DUPLICATE_FILTER, &hdev->quirks);
+
return 0;
}
EXPORT_SYMBOL_GPL(btbcm_setup_apple);
OpenPOWER on IntegriCloud