summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-12-30 05:09:50 +0000
committerlzeng14 <lzeng14@Edk2>2015-12-30 05:09:50 +0000
commit38eb83b89a592aefc8c0476c4d08fb8d6d71ab86 (patch)
treef09e900e3679331111f8eec0004495a825f78997
parent14326ed0910b4bf305ef28fa3aa9cf4d313e238c (diff)
downloadedk2-platforms-38eb83b89a592aefc8c0476c4d08fb8d6d71ab86.tar.xz
MdeModulePkg Variable: Add a missing variable info record
Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19578 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
index 313674594c..2dc303834b 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
@@ -2201,6 +2201,7 @@ UpdateVariable (
// go to delete this variable in variable HOB and
// try to flush other variables from HOB to flash.
//
+ UpdateVariableInfo (VariableName, VendorGuid, FALSE, FALSE, FALSE, TRUE, FALSE);
FlushHobVariableToFlash (VariableName, VendorGuid);
return EFI_SUCCESS;
}