]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
MdeModulePkg/BMMUI: Make the BmmFakeNvData and BmmOldFakeNVData consistent
authorDandan Bi <dandan.bi@intel.com>
Mon, 17 Oct 2016 06:04:21 +0000 (14:04 +0800)
committerStar Zeng <star.zeng@intel.com>
Wed, 19 Oct 2016 03:37:51 +0000 (11:37 +0800)
commit7880f73a8e89f482c61e181861997331baf37857
tree520fdf9b6dd144d676b693795f2d56405f3e4418
parent9ec24f5f7322402e8ac5ba0501cd271dd17bf237
MdeModulePkg/BMMUI: Make the BmmFakeNvData and BmmOldFakeNVData consistent

In BootMaintRouteConfig function, it will compare the data in BmmFakeNvData
and BmmOldFakeNVData to see whether there are some changes need to save.
In current codes when discarding changes or removing the useless changes,
it will update the related fields in BmmFakeNvData.
But also need to update related fields in BmmOldFakeNVData,
or it will result in incorrect comparison in BootMaintRouteConfig function,
then resulting in incorrect UI behaviors.

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.c