merge commit 2339
Complete connection requests with STATUS_CONNECTION_REFUSED rather
than STATUS_REQUEST_NOT_ACCEPTED for rejected connections. This aligns
the status value with ND.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2347
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
if (ep->State == WvEpPassiveConnect || ep->State == WvEpActiveConnect) {\r
ep->State = WvEpDisconnected;\r
WvEpSaveReject(ep, &pEvent->data.rej);\r
- WvCompleteRequests(ep->Queue, STATUS_REQUEST_NOT_ACCEPTED);\r
+ WvCompleteRequests(ep->Queue, STATUS_CONNECTION_REFUSED);\r
}\r
WdfObjectReleaseLock(ep->Queue);\r
break;\r