Author: cgutman
Date: Fri Apr 17 05:17:50 2009
New Revision: 40552
URL:
http://svn.reactos.org/svn/reactos?rev=40552&view=rev
Log:
- Initialize the spin lock in NdisInitializeReadWriteLock
- Fixes miniport drivers that use the read/write lock
Modified:
trunk/reactos/drivers/network/ndis/ndis/control.c
Modified: trunk/reactos/drivers/network/ndis/ndis/control.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/control.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/control.c [iso-8859-1] Fri Apr 17 05:17:50
2009
@@ -29,6 +29,8 @@
*/
{
RtlZeroMemory(Lock, sizeof(NDIS_RW_LOCK));
+
+ KeInitializeSpinLock(&Lock->SpinLock);
}