summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/PlatformDxe/Platform.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2022-12-09 12:22:44 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-12-23 11:53:40 +0000
commit16acacf24c2c1fa2eff9148ae8ec952d74e3ab03 (patch)
treecaaae7f12cdf3883e551f40029c9c771b9de7c85 /OvmfPkg/PlatformDxe/Platform.c
parentd8d4abdff9096a69ff59d96ac4a8dd0e19e5cbcc (diff)
downloadedk2-16acacf24c2c1fa2eff9148ae8ec952d74e3ab03.tar.gz
edk2-16acacf24c2c1fa2eff9148ae8ec952d74e3ab03.tar.bz2
edk2-16acacf24c2c1fa2eff9148ae8ec952d74e3ab03.zip
OvmfPkg: fix PlatformConfig
The Hii form is named "MainFormState" and the EFI variable is named "PlatformConfig". Take into account the different names. Fixes: aefcc91805fd ("OvmfPkg/PlatformDxe: Handle all requests in ExtractConfig and RouteConfig") Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'OvmfPkg/PlatformDxe/Platform.c')
-rw-r--r--OvmfPkg/PlatformDxe/Platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/PlatformDxe/Platform.c b/OvmfPkg/PlatformDxe/Platform.c
index ac31fafbdc..e58e75eb22 100644
--- a/OvmfPkg/PlatformDxe/Platform.c
+++ b/OvmfPkg/PlatformDxe/Platform.c
@@ -258,7 +258,7 @@ ExtractConfig (
!HiiIsConfigHdrMatch (
Request,
&gOvmfPlatformConfigGuid,
- mVariableName
+ mHiiFormName
)
)
{
@@ -447,7 +447,7 @@ RouteConfig (
!HiiIsConfigHdrMatch (
Configuration,
&gOvmfPlatformConfigGuid,
- mVariableName
+ mHiiFormName
)
)
{