]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Assume GO Negotiation failed if GO Neg Conf wait times out
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 8 Jun 2012 15:24:08 +0000 (18:24 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 8 Jun 2012 15:24:08 +0000 (18:24 +0300)
commit579a80982ad07619373876c09cdd60e2afcba5b5
tree45cdf8364d4c7a53c017d3e0fb0c113bc443c3bd
parent73ccd08378fd397c242d44ee1d24a4cd6d94c3f8
P2P: Assume GO Negotiation failed if GO Neg Conf wait times out

Stop the connection attempt if GO Negotiation Confirm is not received
within 100 ms of the GO Negotiation Response getting acknowledged.
Previously, we would have continued trying to connect to the peer even
in this case which could result in confusing second GO Negotiation
Request frame and unnecessarily long wait before indicating failure.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p.c