Update the Ip6Dxe and IScsiDxe 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@12364 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ydong10 2011-09-16 06:11:13 +00:00
parent 43e615983e
commit f10810ca89
3 changed files with 9 additions and 9 deletions

View File

@ -2153,7 +2153,7 @@ IScsiFormCallback (
);
}
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY;
break;
case KEY_ADD_ATTEMPT:
@ -2179,7 +2179,7 @@ IScsiFormCallback (
}
IScsiConfigUpdateAttempt ();
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY;
break;
case KEY_IGNORE_DELETE_ATTEMPT:
@ -2188,7 +2188,7 @@ IScsiFormCallback (
OldIfrNvData.DeleteAttemptList,
sizeof (IfrNvData->DeleteAttemptList)
);
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_DISCARD;
break;
case KEY_ORDER_ATTEMPT_CONFIG:
@ -2213,7 +2213,7 @@ IScsiFormCallback (
}
IScsiConfigUpdateAttempt ();
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY;
break;
case KEY_IGNORE_ORDER_CHANGES:
@ -2222,7 +2222,7 @@ IScsiFormCallback (
OldIfrNvData.DynamicOrderedList,
sizeof (IfrNvData->DynamicOrderedList)
);
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_DISCARD;
break;
case KEY_ATTEMPT_NAME:
@ -2241,7 +2241,7 @@ IScsiFormCallback (
IScsiConfigUpdateAttempt ();
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY;
break;
case KEY_IP_MODE:
@ -2419,7 +2419,7 @@ IScsiFormCallback (
break;
}
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY;
break;
default:

View File

@ -1746,12 +1746,12 @@ Ip6FormCallback (
case KEY_SAVE_CONFIG_CHANGES:
CopyMem (&OldIfrNvData, IfrNvData, sizeof (IP6_CONFIG_IFR_NVDATA));
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY;
break;
case KEY_IGNORE_CONFIG_CHANGES:
CopyMem (IfrNvData, &OldIfrNvData, sizeof (IP6_CONFIG_IFR_NVDATA));
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_DISCARD;
break;
case KEY_SAVE_CHANGES:

Binary file not shown.