mirror of https://github.com/acidanthera/audk.git
Use the input Request string as check string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10184 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
06ba53cc28
commit
b26fc8d82d
|
@ -307,12 +307,6 @@ Ip4ConfigConvertIfrNvDataToDeviceConfigData (
|
||||||
parts of the results that must be
|
parts of the results that must be
|
||||||
stored awaiting possible future
|
stored awaiting possible future
|
||||||
protocols.
|
protocols.
|
||||||
@retval EFI_INVALID_PARAMETER For example, passing in a NULL
|
|
||||||
for the Request parameter
|
|
||||||
would result in this type of
|
|
||||||
error. In this case, the
|
|
||||||
Progress parameter would be
|
|
||||||
set to NULL.
|
|
||||||
@retval EFI_NOT_FOUND Routing data doesn't match any
|
@retval EFI_NOT_FOUND Routing data doesn't match any
|
||||||
known driver. Progress set to the
|
known driver. Progress set to the
|
||||||
first character in the routing header.
|
first character in the routing header.
|
||||||
|
@ -488,9 +482,9 @@ Ip4DeviceExtractConfig (
|
||||||
StrCpy (StrPointer + 1, FormResult);
|
StrCpy (StrPointer + 1, FormResult);
|
||||||
FreePool (DeviceResult);
|
FreePool (DeviceResult);
|
||||||
FreePool (FormResult);
|
FreePool (FormResult);
|
||||||
} else if (HiiIsConfigHdrMatch (ConfigRequest, &gEfiNicIp4ConfigVariableGuid, EFI_NIC_IP4_CONFIG_VARIABLE)) {
|
} else if (HiiIsConfigHdrMatch (Request, &gEfiNicIp4ConfigVariableGuid, EFI_NIC_IP4_CONFIG_VARIABLE)) {
|
||||||
*Results = DeviceResult;
|
*Results = DeviceResult;
|
||||||
} else if (HiiIsConfigHdrMatch (ConfigRequest, &mNicIp4ConfigNvDataGuid, EFI_NIC_IP4_CONFIG_VARIABLE)) {
|
} else if (HiiIsConfigHdrMatch (Request, &mNicIp4ConfigNvDataGuid, EFI_NIC_IP4_CONFIG_VARIABLE)) {
|
||||||
*Results = FormResult;
|
*Results = FormResult;
|
||||||
} else {
|
} else {
|
||||||
return EFI_NOT_FOUND;
|
return EFI_NOT_FOUND;
|
||||||
|
|
Loading…
Reference in New Issue