mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
15cc889129
commit
62b658dd7f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue