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
This commit is contained in:
Star Zeng 2015-12-30 05:09:50 +00:00 committed by lzeng14
parent 14326ed091
commit 38eb83b89a
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}