diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-04-05 02:13:02 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-07 19:47:08 +0300 |
commit | 16e3887f9c625dbcbc5d7cc939881dd4515141c5 (patch) | |
tree | 3711a1de31abb521721d79c83d4a3b3736765e54 /drivers/bluetooth/hci_ldisc.c | |
parent | fb2ce8d11f0399a1359e02fa2fcc5ad7e595544a (diff) | |
download | linux-16e3887f9c625dbcbc5d7cc939881dd4515141c5.tar.xz |
Bluetooth: hci_uart: Add support Intel address configuration
When using vendor detection, this adds support for the Intel 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.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c index b1e8083044ce..03f9defac39d 100644 --- a/drivers/bluetooth/hci_ldisc.c +++ b/drivers/bluetooth/hci_ldisc.c @@ -290,6 +290,11 @@ static int hci_uart_setup(struct hci_dev *hdev) ver = (struct hci_rp_read_local_version *)skb->data; switch (le16_to_cpu(ver->manufacturer)) { +#ifdef CONFIG_BT_HCIUART_INTEL + case 2: + hdev->set_bdaddr = intel_set_bdaddr; + break; +#endif } done: |