[RFC] P2P: send GO neg confirm without wait

Johannes Berg johannes
Fri Jun 1 01:46:24 PDT 2012


From: Johannes Berg <johannes.berg at intel.com>

The GO negotiation confirm frame doesn't need
to be sent with a wait since we don't expect a
response to it.

Signed-hostap: Johannes Berg <johannes.berg at intel.com>
---
 src/p2p/p2p_go_neg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/p2p/p2p_go_neg.c b/src/p2p/p2p_go_neg.c
index 2bf48b3..5b723b6 100644
--- a/src/p2p/p2p_go_neg.c
+++ b/src/p2p/p2p_go_neg.c
@@ -1022,7 +1022,7 @@ fail:
 	else
 		freq = dev->listen_freq;
 	if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, sa,
-			    wpabuf_head(conf), wpabuf_len(conf), 200) < 0) {
+			    wpabuf_head(conf), wpabuf_len(conf), 0) < 0) {
 		wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
 			"P2P: Failed to send Action frame");
 		p2p_go_neg_failed(p2p, dev, -1);
-- 
1.7.10






More information about the Hostap mailing list