aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-02-07 14:26:20 (GMT)
committerJouni Malinen <j@w1.fi>2012-02-07 14:26:20 (GMT)
commit59c8500f18cd379a8c8dc788fc6f01829420fbc4 (patch)
tree6b65f917ca893405679e754d8077f27c97f37978 /src/p2p/p2p_i.h
parent0a70f34f22162331cb515ffda9f125a68be12dec (diff)
downloadhostap-59c8500f18cd379a8c8dc788fc6f01829420fbc4.zip
hostap-59c8500f18cd379a8c8dc788fc6f01829420fbc4.tar.gz
hostap-59c8500f18cd379a8c8dc788fc6f01829420fbc4.tar.bz2
P2P: Move p2p_add_device() prototype to correct header file
This was supposed to be an internal API to be used only within src/p2p/*.c. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/p2p/p2p_i.h')
-rw-r--r--src/p2p/p2p_i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index a578bb7..084f462 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -657,6 +657,8 @@ struct p2p_device * p2p_add_dev_from_go_neg_req(struct p2p_data *p2p,
struct p2p_message *msg);
void p2p_add_dev_info(struct p2p_data *p2p, const u8 *addr,
struct p2p_device *dev, struct p2p_message *msg);
+int p2p_add_device(struct p2p_data *p2p, const u8 *addr, int freq, int level,
+ const u8 *ies, size_t ies_len);
struct p2p_device * p2p_get_device(struct p2p_data *p2p, const u8 *addr);
struct p2p_device * p2p_get_device_interface(struct p2p_data *p2p,
const u8 *addr);