mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- Initialize the spin lock in NdisInitializeReadWriteLock
- Fixes miniport drivers that use the read/write lock svn path=/trunk/; revision=40552
This commit is contained in:
@@ -29,6 +29,8 @@ NdisInitializeReadWriteLock(
|
||||
*/
|
||||
{
|
||||
RtlZeroMemory(Lock, sizeof(NDIS_RW_LOCK));
|
||||
|
||||
KeInitializeSpinLock(&Lock->SpinLock);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user