Author: cgutman
Date: Sun Aug 24 14:54:50 2008
New Revision: 35612
URL:
http://svn.reactos.org/svn/reactos?rev=35612&view=rev
Log:
- Same fix as my last commit
Modified:
trunk/reactos/drivers/network/afd/afd/lock.c
Modified: trunk/reactos/drivers/network/afd/afd/lock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/lo…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/lock.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/lock.c [iso-8859-1] Sun Aug 24 14:54:50 2008
@@ -324,13 +324,12 @@
}
VOID SocketCalloutEnter( PAFD_FCB FCB ) {
- ASSERT(!FCB->Critical);
+ ASSERT(FCB->Locked);
FCB->Critical = TRUE;
SocketStateUnlock( FCB );
}
VOID SocketCalloutLeave( PAFD_FCB FCB ) {
- ASSERT(FCB->Critical);
FCB->Critical = FALSE;
SocketAcquireStateLock( FCB );
}