]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/SetupBrowserDxe:Follow spec'd way to reconnect driver
authorWalon Li <walon.li@hpe.com>
Fri, 24 Jun 2022 06:07:47 +0000 (14:07 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 22 Jul 2022 06:19:53 +0000 (06:19 +0000)
commit343f37b5c07fd261b0fe8f3236459c9071be38b7
treeef30351321b4fd0ec036db9e6a210874e6f0a8c1
parent494f333aba024cf8e695fda78594e5cac210c7a3
MdeModulePkg/SetupBrowserDxe:Follow spec'd way to reconnect driver

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3952

In UEFI spec, it defines reconnect timing that will be activated upon
exiting of the formset or the browser. However, we did't use this kind
of way to check reconnect conditioncode. Code only blocks reconnect if
page is updated dynamically. That's not matched spec'd way. We should
check current formset whether is exiting, then reconnect driver.

Signed-off-by: Walon Li <walon.li@hpe.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
MdeModulePkg/Universal/SetupBrowserDxe/Setup.c