mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NDIS]
- Remove unicode debug stuff out of the spinlock - Add a comment svn path=/trunk/; revision=54467
This commit is contained in:
parent
4c824654d4
commit
34f3db310e
1 changed files with 4 additions and 2 deletions
|
@ -610,6 +610,8 @@ MiniLocateDevice(
|
|||
return NULL;
|
||||
}
|
||||
|
||||
NDIS_DbgPrint(DEBUG_MINIPORT, ("AdapterName = %wZ\n", AdapterName));
|
||||
|
||||
KeAcquireSpinLock(&AdapterListLock, &OldIrql);
|
||||
{
|
||||
CurrentEntry = AdapterListHead.Flink;
|
||||
|
@ -621,9 +623,9 @@ MiniLocateDevice(
|
|||
ASSERT(Adapter);
|
||||
|
||||
NDIS_DbgPrint(DEBUG_MINIPORT, ("Examining adapter 0x%lx\n", Adapter));
|
||||
NDIS_DbgPrint(DEBUG_MINIPORT, ("AdapterName = %wZ\n", AdapterName));
|
||||
NDIS_DbgPrint(DEBUG_MINIPORT, ("DeviceName = %wZ\n", &Adapter->NdisMiniportBlock.MiniportName));
|
||||
|
||||
/* We're technically not allowed to call this above PASSIVE_LEVEL, but it doesn't break
|
||||
* right now and I'd rather use a working API than reimplement it here */
|
||||
if (RtlCompareUnicodeString(AdapterName, &Adapter->NdisMiniportBlock.MiniportName, TRUE) == 0)
|
||||
{
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue