diff options
Diffstat (limited to 'src/device/pci_device.c')
-rw-r--r-- | src/device/pci_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c index 22ccf59338..90b26c129b 100644 --- a/src/device/pci_device.c +++ b/src/device/pci_device.c @@ -1518,6 +1518,8 @@ static void pci_bridge_route(struct bus *link, scan_state state) primary = parent->secondary; secondary = link->secondary; subordinate = link->subordinate; + } else { + return; } if (state == PCI_ROUTE_SCAN) { |