Refine the logic when return success, should not clean the buffer in this case.

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@15169 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Eric Dong 2014-01-23 01:57:04 +00:00 committed by ydong10
parent 5a78d29cb8
commit 96179cb36e
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/** @file
Implementation of interfaces function for EFI_HII_CONFIG_ROUTING_PROTOCOL.
Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@ -4480,12 +4480,11 @@ HiiBlockToConfig (
}
if (*StringPtr == 0) {
*Progress = StringPtr;
Status = EFI_SUCCESS;
AppendToMultiString(Config, ConfigRequest);
HiiToLower (*Config);
goto Exit;
return EFI_SUCCESS;
}
//
// Skip '&'