]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c
Fix system reboot automatically if changing the value of [TPM operation]
[mirror_edk2.git] / SecurityPkg / Tcg / TcgConfigDxe / TcgConfigImpl.c
index f884226d97ceca9fa036b0b47ba18464e3612335..631441a0e4b76845e554554369e0f2adf065f3a2 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   HII Config Access protocol implementation of TCG configuration module.\r
 \r
-Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials \r
 are licensed and made available under the terms and conditions of the BSD License \r
 which accompanies this distribution.  The full text of the license may be found at \r
@@ -359,11 +359,6 @@ SavePpRequest (
     return Status;\r
   }\r
 \r
-  //\r
-  // Reset system.\r
-  //\r
-  gRT->ResetSystem (EfiResetCold, EFI_SUCCESS, 0, NULL);\r
-\r
   return EFI_SUCCESS;\r
 }\r
 \r
@@ -409,8 +404,8 @@ TcgCallback (
   }\r
 \r
   SavePpRequest (Value->u8);\r
-  ASSERT (FALSE);\r
-\r
+  *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;\r
+  \r
   return EFI_SUCCESS;\r
 }\r
 \r