diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2012-02-07 16:26:20 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2012-02-07 16:26:20 +0200 |
commit | 59c8500f18cd379a8c8dc788fc6f01829420fbc4 (patch) | |
tree | 6b65f917ca893405679e754d8077f27c97f37978 /src/p2p | |
parent | 0a70f34f22162331cb515ffda9f125a68be12dec (diff) | |
download | external_wpa_supplicant_8_ti-59c8500f18cd379a8c8dc788fc6f01829420fbc4.zip external_wpa_supplicant_8_ti-59c8500f18cd379a8c8dc788fc6f01829420fbc4.tar.gz external_wpa_supplicant_8_ti-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')
-rw-r--r-- | src/p2p/p2p.h | 3 | ||||
-rw-r--r-- | src/p2p/p2p_i.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/p2p/p2p.h b/src/p2p/p2p.h index 9c4070c..ce62a8a 100644 --- a/src/p2p/p2p.h +++ b/src/p2p/p2p.h @@ -1512,9 +1512,6 @@ void p2p_set_cross_connect(struct p2p_data *p2p, int enabled); int p2p_get_oper_freq(struct p2p_data *p2p, const u8 *iface_addr); -int p2p_add_device(struct p2p_data *p2p, const u8 *addr, int freq, int level, - const u8 *ies, size_t ies_len); - /** * p2p_set_intra_bss_dist - Set intra BSS distribution * @p2p: P2P module context from p2p_init() 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); |