diff options
author | Martin Mares <mj@ucw.cz> | 2007-10-12 17:59:45 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2007-10-12 17:59:45 +0200 |
commit | d5b4cd14bcc088bcc487bfd2e555729b815706e6 (patch) | |
tree | 0262e84eda571fbbbdce6d5203d9088ee161efe8 | |
parent | 8a23eadcb0e83bf019886b3ed24066c13ee888ec (diff) | |
download | pciutils-d5b4cd14bcc088bcc487bfd2e555729b815706e6.tar.gz |
Capability loop detection introduced 2.2.7 did not work properly with
extended capabilities. Fixed.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lspci.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-10-12 Martin Mares <mj@ucw.cz> + + * Capability loop detection introduced 2.2.7 did not work + properly with extended capabilities. Fixed. + 2007-10-05 Martin Mares <mj@ucw.cz> * Released as 2.2.7. @@ -1437,7 +1437,7 @@ show_ext_caps(struct device *d) break; id = header & 0xffff; printf("\tCapabilities: [%03x] ", where); - if (been_there[where++]) + if (been_there[where]++) { printf("<chain looped>\n"); break; |