diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-10-13 00:46:36 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-10-13 00:46:36 +0000 |
commit | 62b658dd7fc1a617b2bfc81b58d168a6ecb10608 (patch) | |
tree | 4ab483d04f395585ff0a20f81013b9668a9dfb4f /MdeModulePkg/Library/UefiHiiLib | |
parent | 15cc8891291b36280ccf13466d293f16ca766a77 (diff) | |
download | edk2-platforms-62b658dd7fc1a617b2bfc81b58d168a6ecb10608.tar.xz |
Fix the incorrect check for IFR OnfOf opcode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9338 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/UefiHiiLib')
-rw-r--r-- | MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c index df73b7b3a1..ba197fd7f9 100644 --- a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c +++ b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c @@ -1537,7 +1537,7 @@ InternalHiiValidateCurrentSetting ( //
// OneOf value doesn't belong to one of option value.
//
- if (VarBlockData.OpCode == EFI_IFR_ONE_OF_OP) {
+ if ((VarBlockData.Scope == 0) && (VarBlockData.OpCode == EFI_IFR_ONE_OF_OP)) {
Status = EFI_INVALID_PARAMETER;
goto Done;
}
|