X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FBus%2FPci%2FPciBusDxe%2FPciHotPlugSupport.c;h=257874b8b03ed43b7dfada351dac65263d53ceaa;hb=4ed4e19c084e03fcb8cfdcb159145136093d4180;hp=61172be78e67dee991666e01a2bd40671ec7ac00;hpb=cd5ebaa06dca3e6ef3c464081e6defe00d358c69;p=mirror_edk2.git diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.c index 61172be78e..257874b8b0 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.c +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.c @@ -1,7 +1,7 @@ /** @file PCI Hot Plug support functions implementation for PCI Bus module.. -Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -254,7 +254,7 @@ AllRootHPCInitialized ( do { for (Index = 0; Index < gPciRootHpcCount; Index++) { - if (!gPciRootHpcData[Index].Initialized) { + if (gPciRootHpcData[Index].Found && !gPciRootHpcData[Index].Initialized) { break; } }