diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-04-06 10:52:14 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-07 19:48:21 +0300 |
commit | bca03c959ab377010d87bef2679890a4a4e66e37 (patch) | |
tree | 2b56431b09bb0200c26a6912fad209b21801a0a1 /drivers/bluetooth/hci_intel.c | |
parent | 59a077c4792e2226b8a95430c0f17d1098939647 (diff) |
Bluetooth: hci_uart: Use generic Intel support for address setting
The Bluetooth address setting for Intel devices is provided by a generic
module now. Start using that module instead of relying it being included
in the driver.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/hci_intel.c')
-rw-r--r-- | drivers/bluetooth/hci_intel.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/bluetooth/hci_intel.c b/drivers/bluetooth/hci_intel.c index b7bd50a41080..5dd07bf05236 100644 --- a/drivers/bluetooth/hci_intel.c +++ b/drivers/bluetooth/hci_intel.c @@ -29,20 +29,3 @@ #include <net/bluetooth/hci_core.h> #include "hci_uart.h" - -int intel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) -{ - struct sk_buff *skb; - int err; - - skb = __hci_cmd_sync(hdev, 0xfc31, 6, bdaddr, HCI_INIT_TIMEOUT); - if (IS_ERR(skb)) { - err = PTR_ERR(skb); - BT_ERR("%s: Changing Intel device address failed (%d)", - hdev->name, err); - return err; - } - kfree_skb(skb); - - return 0; -} |