- Check to see if the ZwEnumerateKey call succeeded with the larger buffer and continue if possible

svn path=/branches/aicom-network-fixes/; revision=35055
This commit is contained in:
Cameron Gutman
2008-08-03 05:10:53 +00:00
parent 31bbc55cec
commit 93abe83cd2
+4 -2
View File
@@ -860,8 +860,10 @@ static NTSTATUS FindDeviceDescForAdapter( PUNICODE_STRING Name,
Status = ZwEnumerateKey( EnumKey, i, KeyBasicInformation,
Kbio, KbioLength, &ResultLength );
TI_DbgPrint(DEBUG_DATALINK,("Couldn't enum key child %d\n", i));
return Status;
if( !NT_SUCCESS(Status) ) {
TI_DbgPrint(DEBUG_DATALINK,("Couldn't enum key child %d\n", i));
return Status;
}
}
if( NT_SUCCESS(Status) ) {