- Revert my last commit

- Looks like this is meant to fail
 - I added a comment so no one does this again

svn path=/branches/aicom-network-fixes/; revision=35745
This commit is contained in:
Cameron Gutman 2008-08-29 04:23:10 +00:00
parent cf392f00f6
commit b4b79146c7

View file

@ -161,11 +161,13 @@ static VOID STDCALL MiQueryResources(
PCM_PARTIAL_RESOURCE_DESCRIPTOR Descriptor;
int i;
/* This is only to get the required BufferSize so it shouldn't succeed */
NdisMQueryAdapterResources(Status,
WrapperConfigurationContext,
NULL,
&BufferSize);
if (*Status != NDIS_STATUS_SUCCESS)
if (*Status == NDIS_STATUS_SUCCESS)
return;
*Status = NdisAllocateMemory((PVOID)&AssignedResources,