]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Set timeout when starting GO Negotiation from Probe Req RX
authorJouni Malinen <j@w1.fi>
Sat, 27 Sep 2014 10:44:03 +0000 (13:44 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 27 Sep 2014 13:12:41 +0000 (16:12 +0300)
commite49cabcf875f50cad00ba6555d971434458c364b
treed869ae25be47c123eea8d7eca7afcfe946534951
parent7549c178acb7fb11241a667c75d6c6c42cd15f13
P2P: Set timeout when starting GO Negotiation from Probe Req RX

It was possible for the p2p_go_neg_start timeout handler to get called
when there was a pending timeout from an earlier GO Negotiation start.
This could result in that old timeout expiring too early for the newly
started GO Negotiation to complete. Avoid such issues by setting a
sufficiently long timeout here just before triggering the new GO
Negotiation.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/p2p/p2p.c