From 43e615983e2b68fc257ed19b4b6b4ff75c707e54 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Fri, 16 Sep 2011 06:08:00 +0000 Subject: [PATCH] Update the UserProfileManagerDxe to keep the old behaviors after add exit action when Config_Access_Protocol.CallBack function returns Submit or Reset which is follow UEFI spec 2.3.1. Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12363 6f19259b-4bc3-4df7-8a09-765794883524 --- .../UserProfileManagerDxe/UserProfileManager.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c index 74c979d58e..c41fe973bd 100644 --- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c +++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c @@ -422,7 +422,6 @@ UserProfileManagerCallback ( // case KEY_MODIFY_PROV: mProviderChoice = Value->u8; - *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT; break; // @@ -430,7 +429,6 @@ UserProfileManagerCallback ( // case KEY_MODIFY_CONN: mConncetLogical = Value->u8; - *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT; break; // @@ -445,7 +443,7 @@ UserProfileManagerCallback ( // case KEY_IP_RETURN_UIF: SaveIdentityPolicy (); - *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT; + *ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY; break; default: @@ -473,7 +471,6 @@ UserProfileManagerCallback ( // case KEY_MODIFY_RIGHT: mAccessInfo.AccessRight = Value->u8; - *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT; break; // @@ -481,7 +478,6 @@ UserProfileManagerCallback ( // case KEY_MODIFY_SETUP: mAccessInfo.AccessSetup= Value->u8; - *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT; break; // @@ -489,7 +485,6 @@ UserProfileManagerCallback ( // case KEY_MODIFY_BOOT: mAccessInfo.AccessBootOrder = Value->u32; - *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT; break; // @@ -551,7 +546,7 @@ UserProfileManagerCallback ( // case KEY_AP_RETURN_UIF: SaveAccessPolicy (); - *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT; + *ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY; break; default: -- 2.39.2