diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-09-30 15:28:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-09-30 15:28:37 +0000 |
commit | e4450db0caff33abc821a1f8e28ce48f5bef5cc3 (patch) | |
tree | 8073f267659984e9d70707524041a44c4f692078 | |
parent | b1b284b79e64ad655138e5fb86b193ffddc59d1b (diff) | |
download | ldetect-e4450db0caff33abc821a1f8e28ce48f5bef5cc3.tar ldetect-e4450db0caff33abc821a1f8e28ce48f5bef5cc3.tar.gz ldetect-e4450db0caff33abc821a1f8e28ce48f5bef5cc3.tar.bz2 ldetect-e4450db0caff33abc821a1f8e28ce48f5bef5cc3.tar.xz ldetect-e4450db0caff33abc821a1f8e28ce48f5bef5cc3.zip |
(pci_probe) make sure not to retrieve values from previous devices
-rw-r--r-- | pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -56,6 +56,7 @@ extern struct pciusb_entries pci_probe(void) { struct pciusb_entry *e = &r.entries[r.nb]; unsigned char class_prog = 0; + memset(buf, 0, BUF_SIZE); // make sure not to retrieve values from previous devices pci_fill_info(dev, PCI_FILL_IDENT | PCI_FILL_CLASS); pciusb_initialize(e); |