]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/caps.c
lspci: Print names of capabilities even if we can't decode the rest
[pciutils.git] / lib / caps.c
index 2378591fb739ed25d4b96449fef0b82331218c64..9a2e0a5f1291cf67cf8a1ac136311bae2ccb7d11 100644 (file)
@@ -106,7 +106,7 @@ pci_find_cap(struct pci_dev *d, unsigned int id, unsigned int type)
 {
   struct pci_cap *c;
 
-  pci_fill_info_v32(d, ((type == PCI_CAP_NORMAL) ? PCI_FILL_CAPS : PCI_FILL_EXT_CAPS));
+  pci_fill_info_v35(d, ((type == PCI_CAP_NORMAL) ? PCI_FILL_CAPS : PCI_FILL_EXT_CAPS));
   for (c=d->first_cap; c; c=c->next)
     if (c->type == type && c->id == id)
       return c;