From: Sunil Dutt Date: Thu, 22 Nov 2012 22:57:59 +0000 (+0200) Subject: P2P: Increase the maximum number of PD Request retries X-Git-Tag: hostap_2_0~116 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ffa45a1343393603909cc14d1a7c693ef3457d60;p=thirdparty%2Fhostap.git P2P: Increase the maximum number of PD Request retries Change the maximum retry limit from 10 to 120 to match the behavior used with GO Negotiation Request frames when trying to start GO Negotiation with a peer that does not acknowledge frames (e.g., due to being in sleep or on another channel most of the time). Signed-hostap: Jouni Malinen --- diff --git a/src/p2p/p2p_pd.c b/src/p2p/p2p_pd.c index 96ea3420e..e40f2b716 100644 --- a/src/p2p/p2p_pd.c +++ b/src/p2p/p2p_pd.c @@ -19,7 +19,7 @@ * Number of retries to attempt for provision discovery requests * in case the peer is not listening. */ -#define MAX_PROV_DISC_REQ_RETRIES 10 +#define MAX_PROV_DISC_REQ_RETRIES 120 static void p2p_build_wps_ie_config_methods(struct wpabuf *buf,