aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@openbossa.org>2011-11-07 11:45:24 -0300
committerGustavo F. Padovan <padovan@profusion.mobi>2011-11-08 12:54:07 -0200
commit2519a1fc82490eb13d69610f81fe84930f3b0e3f (patch)
treebc6093f6109b512e82063665d5d80359c2d21c08 /include/net/bluetooth/hci_core.h
parentBluetooth: EFS: parse L2CAP config response (diff)
downloadlinux-dev-2519a1fc82490eb13d69610f81fe84930f3b0e3f.tar.xz
linux-dev-2519a1fc82490eb13d69610f81fe84930f3b0e3f.zip
Bluetooth: Create hci_do_inquiry()
This patch adds a function to hci_core to carry out inquiry. All inquiry code from start_discovery() were replaced by a hci_do_inquiry() call. Signed-off-by: Andre Guedes <andre.guedes@openbossa.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
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 006a7699abac..32f30533fd5d 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -970,4 +970,6 @@ void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __u8 rand[8],
void hci_le_ltk_reply(struct hci_conn *conn, u8 ltk[16]);
void hci_le_ltk_neg_reply(struct hci_conn *conn);
+int hci_do_inquiry(struct hci_dev *hdev, u8 length);
+
#endif /* __HCI_CORE_H */