Fix the damn detection code.

svn path=/trunk/; revision=23401
This commit is contained in:
Filip Navara 2006-08-01 03:43:51 +00:00
parent 2005844309
commit eb035c3d8f

View file

@ -165,7 +165,7 @@ static VOID STDCALL MiQueryResources(
WrapperConfigurationContext, WrapperConfigurationContext,
NULL, NULL,
&BufferSize); &BufferSize);
if (*Status != NDIS_STATUS_SUCCESS) if (*Status == NDIS_STATUS_SUCCESS)
return; return;
*Status = NdisAllocateMemory((PVOID)&AssignedResources, *Status = NdisAllocateMemory((PVOID)&AssignedResources,