aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_invitation.c
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2012-10-31 13:14:21 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-10-31 13:14:21 -0700
commit86c93df1d626c42147db2f2a6dfb5dcad83477ec (patch)
tree5862b78d667371e87353d024d877a07edf11fa94 /src/p2p/p2p_invitation.c
parentb8fdecbfd0a0cdbbb17b902a6be87c84227b9b11 (diff)
parent1a2ce111ade9563d99ed7bb8156d6148ffd6c3a3 (diff)
downloadexternal_wpa_supplicant_8-86c93df1d626c42147db2f2a6dfb5dcad83477ec.zip
external_wpa_supplicant_8-86c93df1d626c42147db2f2a6dfb5dcad83477ec.tar.gz
external_wpa_supplicant_8-86c93df1d626c42147db2f2a6dfb5dcad83477ec.tar.bz2
Merge "Increase timeouts for p2p" into jb-mr1-dev
Diffstat (limited to 'src/p2p/p2p_invitation.c')
-rw-r--r--src/p2p/p2p_invitation.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/p2p/p2p_invitation.c b/src/p2p/p2p_invitation.c
index 769e57b..7bf6600 100644
--- a/src/p2p/p2p_invitation.c
+++ b/src/p2p/p2p_invitation.c
@@ -506,7 +506,11 @@ void p2p_invitation_req_cb(struct p2p_data *p2p, int success)
* channel.
*/
p2p_set_state(p2p, P2P_INVITE);
+#ifdef ANDROID_P2P
+ p2p_set_timeout(p2p, 0, 350000);
+#else
p2p_set_timeout(p2p, 0, 100000);
+#endif
}