Author: cgutman
Date: Sat Aug 15 04:48:59 2009
New Revision: 42675
URL:
http://svn.reactos.org/svn/reactos?rev=42675&view=rev
Log:
- Actually zero the select events in ZeroEvents
- Part 3 of 3 (hopefully :P)
Modified:
trunk/reactos/drivers/network/afd/afd/select.c
Modified: trunk/reactos/drivers/network/afd/afd/select.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/se…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/select.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/select.c [iso-8859-1] Sat Aug 15 04:48:59 2009
@@ -47,8 +47,10 @@
UINT HandleCount ) {
UINT i;
- for( i = 0; i < HandleCount; i++ )
+ for( i = 0; i < HandleCount; i++ ) {
HandleArray[i].Status = 0;
+ HandleArray[i].Events = 0;
+ }
}
@@ -194,9 +196,6 @@
}
}
- ZeroEvents( PollReq->Handles,
- PollReq->HandleCount );
-
KeAcquireSpinLock( &DeviceExt->Lock, &OldIrql );
for( i = 0; i < PollReq->HandleCount; i++ ) {