mirror of https://github.com/acidanthera/audk.git
Correct BlockSize when call ConfigToBlock API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9953 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
638909f19b
commit
995c594047
|
@ -551,7 +551,6 @@ ThunkRouteConfig (
|
|||
VOID *Data;
|
||||
UINTN DataSize;
|
||||
UINTN DataSize2;
|
||||
UINTN LastModifiedByteIndex;
|
||||
BOOLEAN ResetRequired;
|
||||
BOOLEAN DataAllocated;
|
||||
|
||||
|
@ -602,11 +601,12 @@ ThunkRouteConfig (
|
|||
}
|
||||
}
|
||||
|
||||
DataSize = DataSize2;
|
||||
Status = mHiiConfigRoutingProtocol->ConfigToBlock (
|
||||
mHiiConfigRoutingProtocol,
|
||||
Configuration,
|
||||
Data,
|
||||
&LastModifiedByteIndex,
|
||||
&DataSize,
|
||||
Progress
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
|
@ -633,7 +633,6 @@ ThunkRouteConfig (
|
|||
Data,
|
||||
&ResetRequired
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue