]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/BootManagerUiLib/BootManager.c
MdeModulePkg/BootManagerUiLib: show inactive boot options
[mirror_edk2.git] / MdeModulePkg / Library / BootManagerUiLib / BootManager.c
index 13b40e11b39628a4dd6e6c38bffb8f800ecc113a..4b2c4c77a124da4093aa9e99ab102668cb1bf77a 100644 (file)
@@ -535,9 +535,9 @@ UpdateBootManager (
     mKeyInput++;\r
 \r
     //\r
-    // Don't display the hidden/inactive boot option\r
+    // Don't display hidden boot options, but retain inactive ones.\r
     //\r
-    if (((BootOption[Index].Attributes & LOAD_OPTION_HIDDEN) != 0) || ((BootOption[Index].Attributes & LOAD_OPTION_ACTIVE) == 0)) {\r
+    if ((BootOption[Index].Attributes & LOAD_OPTION_HIDDEN) != 0) {\r
       continue;\r
     }\r
 \r