summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Tcg/TcgConfigDxe
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-12-15 02:59:03 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-12-15 02:59:03 +0000
commitfab1046560e520486f255093cbb4fe36a347f93a (patch)
treec864a6fe512aa6ae5e05928b10467a2ea04372b5 /SecurityPkg/Tcg/TcgConfigDxe
parent639a76d1912f8eb07e26b1a8f2393b682be65f2c (diff)
downloadedk2-fab1046560e520486f255093cbb4fe36a347f93a.tar.gz
edk2-fab1046560e520486f255093cbb4fe36a347f93a.tar.bz2
edk2-fab1046560e520486f255093cbb4fe36a347f93a.zip
Update for SecurityPkg.
Per UEFI spec, on CallBack action EFI_BROWSER_ACTION_CHANGING, the return value of ActionRequest will be ignored, but on CallBack action EFI_BROWSER_ACTION_CHANGED, the return value of ActionRequest will be used. But, EDKII browser still processes the got ActionRequest. And, all HII drivers in EDKII project also returns their expected ActionRequest value on action EFI_BROWSER_ACTION_CHANGING. Now update the browser to follow the spec, and update all core Hii drivers to keep old working modal. Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12868 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Tcg/TcgConfigDxe')
-rw-r--r--SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c b/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c
index 20eb3eee08..f884226d97 100644
--- a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c
+++ b/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c
@@ -404,7 +404,7 @@ TcgCallback (
return EFI_INVALID_PARAMETER;
}
- if ((Action != EFI_BROWSER_ACTION_CHANGING) || (QuestionId != KEY_TPM_ACTION)) {
+ if ((Action != EFI_BROWSER_ACTION_CHANGED) || (QuestionId != KEY_TPM_ACTION)) {
return EFI_UNSUPPORTED;
}