aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-12-18 15:21:25 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-18 15:21:25 (GMT)
commit1ef2f7ffcf8c58725be57ad5022a7991f1cc6e4c (patch)
treee65a40bc17b9c823d90b191ebeeb0f118bb1f6ef /src/p2p/p2p_i.h
parent19030351b95f48714007e425eaa2163d9122d788 (diff)
downloadhostap-1ef2f7ffcf8c58725be57ad5022a7991f1cc6e4c.zip
hostap-1ef2f7ffcf8c58725be57ad5022a7991f1cc6e4c.tar.gz
hostap-1ef2f7ffcf8c58725be57ad5022a7991f1cc6e4c.tar.bz2
P2P: Fix Provision Discovery channel for some join-GO cases
The Provision Discovery Request needs to be sent on the operating channel of the GO and as such, the frequency from the BSS table (scan results) need to override the frequency in the P2P peer table that could be based on the Listen channel of the GO. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/p2p/p2p_i.h')
-rw-r--r--src/p2p/p2p_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index 4a4751b..0dc33e7 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -619,7 +619,7 @@ void p2p_process_prov_disc_req(struct p2p_data *p2p, const u8 *sa,
void p2p_process_prov_disc_resp(struct p2p_data *p2p, const u8 *sa,
const u8 *data, size_t len);
int p2p_send_prov_disc_req(struct p2p_data *p2p, struct p2p_device *dev,
- int join);
+ int join, int force_freq);
void p2p_reset_pending_pd(struct p2p_data *p2p);
/* p2p_invitation.c */