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>
This commit is contained in:
Marcel Holtmann
2015-04-04 16:13:03 -07:00
parent 16e3887f9c
commit e9a2dd261a
5 changed files with 69 additions and 1 deletions

View File

@ -294,6 +294,11 @@ static int hci_uart_setup(struct hci_dev *hdev)
case 2:
hdev->set_bdaddr = intel_set_bdaddr;
break;
#endif
#ifdef CONFIG_BT_HCIUART_BCM
case 15:
hdev->set_bdaddr = bcm_set_bdaddr;
break;
#endif
}