Author: cgutman
Date: Mon Aug 8 21:27:08 2011
New Revision: 53142
URL:
http://svn.reactos.org/svn/reactos?rev=53142&view=rev
Log:
- Just kidding. Fix it for real.
Modified:
trunk/reactos/drivers/network/afd/afd/main.c
Modified: trunk/reactos/drivers/network/afd/afd/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/ma…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/main.c [iso-8859-1] Mon Aug 8 21:27:08 2011
@@ -688,7 +688,8 @@
Flags = TDI_DISCONNECT_RELEASE;
}
/* Shutdown(SD_RECEIVE) */
- else if (DisReq->DisconnectType & AFD_DISCONNECT_RECV)
+ else if ((DisReq->DisconnectType & AFD_DISCONNECT_RECV) &&
+ !(DisReq->DisconnectType & AFD_DISCONNECT_SEND))
{
/* Mark that we can't issue another receive request */
FCB->TdiReceiveClosed = TRUE;