From: Marcel Holtmann Date: Fri, 4 Jul 2014 14:54:39 +0000 (+0200) Subject: Bluetooth: Set HCI_QUIRK_INVALID_BADDR for BCM20702A0 default address X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=849e5086b9080d2408fd6223d27548032083b9e8;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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: Marcel Holtmann Signed-off-by: Johan Hedberg --- diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 825f3e16651f..61d8385666e9 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -1624,9 +1624,11 @@ reset_fw: /* The address 00:20:70:02:A0:00 indicates a BCM20702A0 controller * 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)", hdev->name, &bda->bdaddr); + set_bit(HCI_QUIRK_INVALID_BDADDR, &hdev->quirks); + } kfree_skb(skb);