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:
Eric Dong 2014-04-11 06:17:03 +00:00 committed by ydong10
parent 061d546224
commit e213ae4552
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}