Update the logic in browser core, use config routine protocol instead of config access protocol to get/set data with hii drivers.
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14902 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1499,7 +1499,6 @@ ProcessQuestionConfig (
|
||||
EFI_STATUS Status;
|
||||
CHAR16 *ConfigResp;
|
||||
CHAR16 *Progress;
|
||||
EFI_HII_CONFIG_ACCESS_PROTOCOL *ConfigAccess;
|
||||
|
||||
if (Question->QuestionConfig == 0) {
|
||||
return EFI_SUCCESS;
|
||||
@@ -1516,12 +1515,8 @@ ProcessQuestionConfig (
|
||||
//
|
||||
// Send config to Configuration Driver
|
||||
//
|
||||
ConfigAccess = Selection->FormSet->ConfigAccess;
|
||||
if (ConfigAccess == NULL) {
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
Status = ConfigAccess->RouteConfig (
|
||||
ConfigAccess,
|
||||
Status = mHiiConfigRouting->RouteConfig (
|
||||
mHiiConfigRouting,
|
||||
ConfigResp,
|
||||
&Progress
|
||||
);
|
||||
|
Reference in New Issue
Block a user