OSDN Git Service

Increase timeouts for p2p
authorIrfan Sheriff <isheriff@google.com>
Wed, 31 Oct 2012 05:22:52 +0000 (22:22 -0700)
committerIrfan Sheriff <isheriff@google.com>
Wed, 31 Oct 2012 05:22:52 +0000 (22:22 -0700)
commit1a2ce111ade9563d99ed7bb8156d6148ffd6c3a3
tree68e65c907c1db496ed9f5f40bfe9d111e8bc643a
parentb485b188f853a4ec5342c2ea49705b545b2caf3d
Increase timeouts for p2p

Dongles can be slow to respond and a quick turn around time on packets does not help.
Allow for upto 350ms on retry attempts for provision discovery, negotiation and invitation

This will catch slow responses within the first attempt and prevent any kind of issues
with sequence number handling

Bug: 7445415
Change-Id: I88a849d400b10f42ac298bad6d01f49803fcc8ba
src/p2p/p2p.c
src/p2p/p2p_invitation.c