summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/data.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-12-09 19:00:27 +0000
committerThierry Vignaud <tv@mandriva.org>2008-12-09 19:00:27 +0000
commit4a047aa78653c653d4cb635f3d00bf1c502c33b9 (patch)
treeee5f122eb002cf873b8b09c73f2a6257ecddb4d1 /perl-install/harddrake/data.pm
parent4ee448a20d1a593b03216c98cb2230ae973a2ff1 (diff)
downloaddrakx-4a047aa78653c653d4cb635f3d00bf1c502c33b9.tar
drakx-4a047aa78653c653d4cb635f3d00bf1c502c33b9.tar.gz
drakx-4a047aa78653c653d4cb635f3d00bf1c502c33b9.tar.bz2
drakx-4a047aa78653c653d4cb635f3d00bf1c502c33b9.tar.xz
drakx-4a047aa78653c653d4cb635f3d00bf1c502c33b9.zip
(pciusb_id) try harder to find duplicates: ignore case (b/c bus can be
either 'USB' or 'usb' (eg: input devices)
Diffstat (limited to 'perl-install/harddrake/data.pm')
-rw-r--r--perl-install/harddrake/data.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 89d93fd27..9901b3691 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -556,7 +556,7 @@ sub pciusb_id {
vendor => 'usb_vendor',
);
my @fields = qw(bus pci_bus pci_device vendor id subvendor subid description);
- join(':', map { $dev->{$alt{$_}} || $dev->{$_} } @fields);
+ join(':', map { uc($dev->{$alt{$_}} || $dev->{$_}) } @fields);
}