mirror of
https://github.com/reactos/reactos.git
synced 2024-07-11 15:15:27 +00:00
Fix the damn detection code.
svn path=/trunk/; revision=23401
This commit is contained in:
parent
2005844309
commit
eb035c3d8f
|
@ -165,7 +165,7 @@ static VOID STDCALL MiQueryResources(
|
|||
WrapperConfigurationContext,
|
||||
NULL,
|
||||
&BufferSize);
|
||||
if (*Status != NDIS_STATUS_SUCCESS)
|
||||
if (*Status == NDIS_STATUS_SUCCESS)
|
||||
return;
|
||||
|
||||
*Status = NdisAllocateMemory((PVOID)&AssignedResources,
|
||||
|
|
Loading…
Reference in a new issue