projects
/
libeap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
P2P: Add peer timeout into group formation 15 second timeout
[libeap.git]
/
src
/
p2p
/
p2p.c
diff --git
a/src/p2p/p2p.c
b/src/p2p/p2p.c
index
5d45811
..
e4d967f
100644
(file)
--- a/
src/p2p/p2p.c
+++ b/
src/p2p/p2p.c
@@
-1121,6
+1121,8
@@
void p2p_go_complete(struct p2p_data *p2p, struct p2p_device *peer)
}
}
+ res.peer_config_timeout = go ? peer->client_timeout : peer->go_timeout;
+
p2p_clear_timeout(p2p);
peer->go_neg_req_sent = 0;
peer->wps_method = WPS_NOT_READY;