The connect all action has been done in UiApp,
no need to do it when update boot manager form.

Cc: Liming Gao <liming....@intel.com>
Cc: Eric Dong <eric.d...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan...@intel.com>
Reviewed-by: Eric Dong <eric.d...@intel.com>
---
 MdeModulePkg/Library/BootManagerUiLib/BootManager.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/MdeModulePkg/Library/BootManagerUiLib/BootManager.c 
b/MdeModulePkg/Library/BootManagerUiLib/BootManager.c
index 8203887..8cc6e24 100644
--- a/MdeModulePkg/Library/BootManagerUiLib/BootManager.c
+++ b/MdeModulePkg/Library/BootManagerUiLib/BootManager.c
@@ -1,9 +1,9 @@
 /** @file
   The boot manager reference implementation
 
-Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
 This program and the accompanying materials are licensed and made available 
under
 the terms and conditions of the BSD License that accompanies this distribution.
 The full text of the license may be found at
 http://opensource.org/licenses/bsd-license.php.
 
@@ -417,12 +417,11 @@ BmDevicePathToStr (
   ASSERT (ToText != NULL);
   return ToText;
 }
 
 /**
-  This function invokes Boot Manager. If all devices have not a chance to be 
connected,
-  the connect all will be triggered. It then enumerate all boot options. If 
+  This function invokes Boot Manager. It then enumerate all boot options. If
   a boot option from the Boot Manager page is selected, Boot Manager will boot
   from this boot option.
   
 **/
 VOID
@@ -448,12 +447,10 @@ UpdateBootManager (
   BOOLEAN                       NeedEndOp;
   UINTN                         MaxLen;
 
   DeviceType = (UINT16) -1;
 
-  EfiBootManagerConnectAll ();
-
   //
   // for better user experience
   // 1. User changes HD configuration (e.g.: unplug HDD), here we have a 
chance to remove the HDD boot option
   // 2. User enables/disables UEFI PXE, here we have a chance to add/remove 
EFI Network boot option
   //
-- 
1.9.5.msysgit.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to