aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@openbossa.org>2011-11-07 09:45:24 -0500
committerGustavo F. Padovan <padovan@profusion.mobi>2011-11-08 09:54:07 -0500
commit2519a1fc82490eb13d69610f81fe84930f3b0e3f (patch)
treebc6093f6109b512e82063665d5d80359c2d21c08 /include
parent66af7aaf9edff55b7995bbe1ff508513666d0671 (diff)
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')
-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],
970void hci_le_ltk_reply(struct hci_conn *conn, u8 ltk[16]); 970void hci_le_ltk_reply(struct hci_conn *conn, u8 ltk[16]);
971void hci_le_ltk_neg_reply(struct hci_conn *conn); 971void hci_le_ltk_neg_reply(struct hci_conn *conn);
972 972
973int hci_do_inquiry(struct hci_dev *hdev, u8 length);
974
973#endif /* __HCI_CORE_H */ 975#endif /* __HCI_CORE_H */