diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c index 1bf1334189..a4c697562d 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c @@ -1095,14 +1095,13 @@ BootMaintCallback ( Private = BMM_CALLBACK_DATA_FROM_THIS (This); - if (Action == EFI_BROWSER_ACTION_DEFAULT_FIRMWARE) { - //find something like Private->BmmDefaultValues.BootTimeOut - CurrentFakeNVMap->BootTimeOut = Private->BmmOldFakeNVData.BootTimeOut; + //gotta find something like Private.BmmDefaultValues.BootTimeOut; + CurrentFakeNVMap->BootTimeOut = defaultValue HiiSetBrowserData(...); // Update the value in the HII database - return EFI_SUCCESS; // Indicate that the operation was successful + return EFI_SUCCESS; }