diff options
-rw-r--r-- | drivers/pci/pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 6bfb942428e4..206c834d263a 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -254,7 +254,8 @@ static int __pci_find_next_ht_cap(struct pci_dev *dev, int pos, int ht_cap) | |||
254 | if ((cap & mask) == ht_cap) | 254 | if ((cap & mask) == ht_cap) |
255 | return pos; | 255 | return pos; |
256 | 256 | ||
257 | pos = __pci_find_next_cap_ttl(dev->bus, dev->devfn, pos, | 257 | pos = __pci_find_next_cap_ttl(dev->bus, dev->devfn, |
258 | pos + PCI_CAP_LIST_NEXT, | ||
258 | PCI_CAP_ID_HT, &ttl); | 259 | PCI_CAP_ID_HT, &ttl); |
259 | } | 260 | } |
260 | 261 | ||