Parcourir la source

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 <jouni@qca.qualcomm.com>
Sunil Dutt il y a 12 ans
Parent
commit
ffa45a1343
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/p2p/p2p_pd.c

+ 1 - 1
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,