summaryrefslogtreecommitdiff
path: root/SecurityPkg
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-16 06:08:00 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-16 06:08:00 +0000
commit43e615983e2b68fc257ed19b4b6b4ff75c707e54 (patch)
treed33c2a696b01ef52698cb6d42d15f1ec31219f1f /SecurityPkg
parenta1cfbf8c30b1fcf5a912367d54fe5d82b1b9bc1e (diff)
downloadedk2-platforms-43e615983e2b68fc257ed19b4b6b4ff75c707e54.tar.xz
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
Diffstat (limited to 'SecurityPkg')
-rw-r--r--SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c9
1 files 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: