Rewrite the confusion statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2610 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c75bbd0e5b
commit
08c01475f5
@ -1,6 +1,6 @@
|
|||||||
/*++
|
/*++
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006 - 2007, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -1056,20 +1056,8 @@ Returns:
|
|||||||
CfgPtr = gST->ConfigurationTable;
|
CfgPtr = gST->ConfigurationTable;
|
||||||
|
|
||||||
for (Index = 0; Index < gST->NumberOfTableEntries; Index++) {
|
for (Index = 0; Index < gST->NumberOfTableEntries; Index++) {
|
||||||
Status = CompareGuid (
|
if (CompareGuid (&CfgPtr->VendorGuid, &gEfiNetworkInterfaceIdentifierProtocolGuid_31)) {
|
||||||
&CfgPtr->VendorGuid,
|
|
||||||
&gEfiNetworkInterfaceIdentifierProtocolGuid_31
|
|
||||||
);
|
|
||||||
if (Status != EFI_SUCCESS) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
CfgPtr++;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Index < gST->NumberOfTableEntries) {
|
|
||||||
TmpData = (NII_TABLE *) CfgPtr->VendorTable;
|
TmpData = (NII_TABLE *) CfgPtr->VendorTable;
|
||||||
|
|
||||||
//
|
//
|
||||||
// go to the last link
|
// go to the last link
|
||||||
//
|
//
|
||||||
@ -1083,6 +1071,10 @@ Returns:
|
|||||||
// 1st one in chain
|
// 1st one in chain
|
||||||
//
|
//
|
||||||
UndiData = (NII_TABLE *) CfgPtr->VendorTable;
|
UndiData = (NII_TABLE *) CfgPtr->VendorTable;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
CfgPtr++;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user