summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorAndre Guedes2012-04-25 02:02:53 +0200
committerGustavo Padovan2012-05-09 06:40:44 +0200
commit31f7956c6648fbae9c9550e91d1c348d28276309 (patch)
tree1493deb456bfb82bf9ff3ad2380bdd2dcf60baae /include/net/bluetooth/hci_core.h
parentBluetooth: Rename mgmt_to_le to bdaddr_to_le (diff)
downloadkernel-qcow2-linux-31f7956c6648fbae9c9550e91d1c348d28276309.tar.gz
kernel-qcow2-linux-31f7956c6648fbae9c9550e91d1c348d28276309.tar.xz
kernel-qcow2-linux-31f7956c6648fbae9c9550e91d1c348d28276309.zip
Bluetooth: Move bdaddr_to_le to hci_core
This patch moves the helper function bdaddr_to_le to hci_core, so it can be used in mgmt.c and hci_conn.c. Signed-off-by: Andre Guedes <andre.guedes@openbossa.org> Acked-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 6777432ca61e..7e7fe3f221fb 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1073,4 +1073,6 @@ int hci_le_scan(struct hci_dev *hdev, u8 type, u16 interval, u16 window,
int timeout);
int hci_cancel_le_scan(struct hci_dev *hdev);
+u8 bdaddr_to_le(u8 bdaddr_type);
+
#endif /* __HCI_CORE_H */