Author: cgutman
Date: Sun Aug 24 11:20:14 2008
New Revision: 35601
URL:
http://svn.reactos.org/svn/reactos?rev=35601&view=rev
Log:
- Set FCB->Locked to TRUE after we increment the lock count
Modified:
branches/aicom-network-fixes/drivers/network/afd/afd/lock.c
Modified: branches/aicom-network-fixes/drivers/network/afd/afd/lock.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/afd/afd/lock.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/afd/afd/lock.c [iso-8859-1] Sun Aug 24
11:20:14 2008
@@ -225,6 +225,7 @@
if( CurrentThread == FCB->CurrentThread ) {
FCB->LockCount++;
+ FCB->Locked = TRUE;
AFD_DbgPrint(MID_TRACE,
("Same thread, lock count %d\n", FCB->LockCount));
return TRUE;