Commit 849e5086 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by Johan Hedberg

Bluetooth: Set HCI_QUIRK_INVALID_BADDR for BCM20702A0 default address

When the Broadcom USB controller has a default address, then set the quirk
so the Bluetooth core knows that controller configuration is required.
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 4739b5b1
...@@ -1624,9 +1624,11 @@ static int btusb_setup_bcm_patchram(struct hci_dev *hdev) ...@@ -1624,9 +1624,11 @@ static int btusb_setup_bcm_patchram(struct hci_dev *hdev)
/* The address 00:20:70:02:A0:00 indicates a BCM20702A0 controller /* The address 00:20:70:02:A0:00 indicates a BCM20702A0 controller
* with no configured address. * with no configured address.
*/ */
if (!bacmp(&bda->bdaddr, BDADDR_BCM20702A0)) if (!bacmp(&bda->bdaddr, BDADDR_BCM20702A0)) {
BT_INFO("%s: BCM: using default device address (%pMR)", BT_INFO("%s: BCM: using default device address (%pMR)",
hdev->name, &bda->bdaddr); hdev->name, &bda->bdaddr);
set_bit(HCI_QUIRK_INVALID_BDADDR, &hdev->quirks);
}
kfree_skb(skb); kfree_skb(skb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment