mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
fix ASSERT in ndis, now the Realtek 8029AS (ne2000) driver is working
svn path=/trunk/; revision=23368
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -103,7 +103,7 @@ NdisMQueryAdapterResources(
|
||||
ULONG ResourceListSize;
|
||||
|
||||
PAGED_CODE();
|
||||
ASSERT(Status && ResourceList);
|
||||
ASSERT((Status && ResourceList) || *BufferSize != 0);
|
||||
|
||||
NDIS_DbgPrint(MAX_TRACE, ("Called\n"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user