Allow a user to retry a connection request if it fails. Report a
'success' timeout value, rather than an error timeout, reset the
EP state, and allow the request to be retried from user space.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
case iba_cm_req_error:\r
WdfObjectAcquireLock(ep->Queue);\r
if (ep->State == WvEpActiveConnect) {\r
- ep->State = WvEpDisconnected;\r
- WvCompleteRequests(ep->Queue, STATUS_IO_TIMEOUT);\r
+ ep->State = WvEpRouteResolved;\r
+ WvCompleteRequests(ep->Queue, STATUS_TIMEOUT);\r
}\r
WdfObjectReleaseLock(ep->Queue);\r
break;\r