mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 02:20:54 +00:00
- Change NdisAcquireSpinLock to NdisDprAcquireSpinLock because we are running at DISPATCH_LEVEL
svn path=/branches/aicom-network-fixes/; revision=36407
This commit is contained in:
parent
be9e073137
commit
751bd9fb71
|
@ -122,7 +122,7 @@ MiniportQueryInformation(
|
||||||
|
|
||||||
ASSERT(Adapter);
|
ASSERT(Adapter);
|
||||||
|
|
||||||
NdisAcquireSpinLock(&Adapter->Lock);
|
NdisDprAcquireSpinLock(&Adapter->Lock);
|
||||||
|
|
||||||
Status = NDIS_STATUS_SUCCESS;
|
Status = NDIS_STATUS_SUCCESS;
|
||||||
CopyFrom = (PVOID)&GenericULONG;
|
CopyFrom = (PVOID)&GenericULONG;
|
||||||
|
@ -363,7 +363,7 @@ MiniportQueryInformation(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
NdisReleaseSpinLock(&Adapter->Lock);
|
NdisDprReleaseSpinLock(&Adapter->Lock);
|
||||||
|
|
||||||
DPRINT("Leaving. Status is 0x%x\n", Status);
|
DPRINT("Leaving. Status is 0x%x\n", Status);
|
||||||
|
|
||||||
|
@ -406,7 +406,7 @@ MiniportSetInformation(
|
||||||
|
|
||||||
DPRINT("Called, OID 0x%x\n", Oid);
|
DPRINT("Called, OID 0x%x\n", Oid);
|
||||||
|
|
||||||
NdisAcquireSpinLock(&Adapter->Lock);
|
NdisDprAcquireSpinLock(&Adapter->Lock);
|
||||||
|
|
||||||
switch (Oid)
|
switch (Oid)
|
||||||
{
|
{
|
||||||
|
@ -505,7 +505,7 @@ MiniportSetInformation(
|
||||||
*BytesNeeded = 0;
|
*BytesNeeded = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
NdisReleaseSpinLock(&Adapter->Lock);
|
NdisDprReleaseSpinLock(&Adapter->Lock);
|
||||||
|
|
||||||
DPRINT("Leaving. Status (0x%X).\n", Status);
|
DPRINT("Leaving. Status (0x%X).\n", Status);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue