fix ASSERT in ndis, now the Realtek 8029AS (ne2000) driver is working

svn path=/trunk/; revision=23368
This commit is contained in:
Christoph von Wittich
2006-07-29 20:23:44 +00:00
parent 6698793717
commit 9cff1db692
2 changed files with 2 additions and 2 deletions
@@ -165,7 +165,7 @@ static VOID STDCALL MiQueryResources(
WrapperConfigurationContext,
NULL,
&BufferSize);
if (*Status != NDIS_STATUS_RESOURCES)
if (*Status != NDIS_STATUS_SUCCESS)
return;
*Status = NdisAllocateMemory((PVOID)&AssignedResources,
+1 -1
View File
@@ -103,7 +103,7 @@ NdisMQueryAdapterResources(
ULONG ResourceListSize;
PAGED_CODE();
ASSERT(Status && ResourceList);
ASSERT((Status && ResourceList) || *BufferSize != 0);
NDIS_DbgPrint(MAX_TRACE, ("Called\n"));