mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 20:36:26 +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:
parent
e3598783d0
commit
ff3c42108d
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ NdisInitializeReadWriteLock(
|
|||
*/
|
||||
{
|
||||
RtlZeroMemory(Lock, sizeof(NDIS_RW_LOCK));
|
||||
|
||||
KeInitializeSpinLock(&Lock->SpinLock);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue