diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common_bridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common_bridge.c b/src/common_bridge.c index b4b5d7e..84cc57b 100644 --- a/src/common_bridge.c +++ b/src/common_bridge.c @@ -216,7 +216,7 @@ pci_device_get_bridge_info( struct pci_device * dev ) read_bridge_info(priv); } - return (priv->header_type == 1) ? priv->bridge.pci : NULL; + return ((priv->header_type & 0x7f) == 1) ? priv->bridge.pci : NULL; } |