]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Move p2p_add_device() prototype to correct header file
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 7 Feb 2012 14:26:20 +0000 (16:26 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 7 Feb 2012 14:26:20 +0000 (16:26 +0200)
This was supposed to be an internal API to be used only within
src/p2p/*.c.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

src/p2p/p2p.h
src/p2p/p2p_i.h

index 9c4070c93241c5e8b4d90f3d116ecadce27b3287..ce62a8a491282a52f2211a908ad4a6b5e5ef00fc 100644 (file)
@@ -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()
index a578bb78e8397bdd0c8047150808d47440ca4744..084f4621ad9d1f87ac4973e56cba877302f3496a 100644 (file)
@@ -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);