- Fix a code typo resulting in calls to MiQueryResources to return early

svn path=/branches/aicom-network-fixes/; revision=35744
This commit is contained in:
Cameron Gutman 2008-08-29 03:59:25 +00:00
parent 8fa497277d
commit cf392f00f6

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,