From e213ae45524e00441287176b962008a13a093804 Mon Sep 17 00:00:00 2001 From: Eric Dong Date: Fri, 11 Apr 2014 06:17:03 +0000 Subject: Update logic, only question with interactive attribute should trig the callback function. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong Reviewed-by: Liming, Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15449 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c index d7536e7..1f8da42 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c @@ -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; } -- cgit v1.1