summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_ldisc.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-04-04 16:13:03 -0700
committerMarcel Holtmann <marcel@holtmann.org>2015-04-07 18:47:08 +0200
commite9a2dd261ac3d7bffbf55368a60401f5982dcc59 (patch)
tree2ea20c4ed4586accdb395fe2c55c6bf47eb350a7 /drivers/bluetooth/hci_ldisc.c
parent16e3887f9c625dbcbc5d7cc939881dd4515141c5 (diff)
downloadlinux-e9a2dd261ac3d7bffbf55368a60401f5982dcc59.tar.bz2
Bluetooth: hci_uart: Add support Broadcom address configuration
When using vendor detection, this adds support for the Broadcom specific address configuration command. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/hci_ldisc.c')
-rw-r--r--drivers/bluetooth/hci_ldisc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index 03f9defac39d..b6d1ff4fbba6 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -295,6 +295,11 @@ static int hci_uart_setup(struct hci_dev *hdev)
hdev->set_bdaddr = intel_set_bdaddr;
break;
#endif
+#ifdef CONFIG_BT_HCIUART_BCM
+ case 15:
+ hdev->set_bdaddr = bcm_set_bdaddr;
+ break;
+#endif
}
done: