summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Application/UiApp/FrontPage.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Application/UiApp/FrontPage.c')
-rw-r--r--MdeModulePkg/Application/UiApp/FrontPage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Application/UiApp/FrontPage.c b/MdeModulePkg/Application/UiApp/FrontPage.c
index 1c0afa560a..d1372d334e 100644
--- a/MdeModulePkg/Application/UiApp/FrontPage.c
+++ b/MdeModulePkg/Application/UiApp/FrontPage.c
@@ -19,7 +19,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_GUID mFrontPageGuid = FRONT_PAGE_FORMSET_GUID;
-BOOLEAN gConnectAllHappened = FALSE;
BOOLEAN mFeaturerSwitch = TRUE;
BOOLEAN mResetRequired = FALSE;
@@ -990,9 +989,10 @@ UiEntry (
//
// Indicate if the connect all has been performed before.
+ // If has not been performed before, do here.
//
- if (ConnectAllHappened) {
- gConnectAllHappened = TRUE;
+ if (!ConnectAllHappened) {
+ EfiBootManagerConnectAll ();
}
//