mirror of https://github.com/acidanthera/audk.git
Update logic, only question with interactive attribute should trig the callback function.
Contributed-under: TianoCore Contribution Agreement 1.0 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@15449 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
061d546224
commit
e213ae4552
|
@ -2141,6 +2141,10 @@ SendDiscardInfoToDriver (
|
|||
continue;
|
||||
}
|
||||
|
||||
if ((Question->QuestionFlags & EFI_IFR_FLAG_CALLBACK) != EFI_IFR_FLAG_CALLBACK) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (Question->Operand == EFI_IFR_PASSWORD_OP) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue