From ddbcbe6dd613d2933f6c4be78d00efe55184fb5b Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 23 Feb 2010 17:51:16 +0000 Subject: - detect_devices: o fix merging PCI devices info from sysfs which resulted in ill-informed devices matching (#57711) --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/detect_devices.pm') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 74c860f02..814499d9a 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -691,7 +691,7 @@ sub get_ids_from_sysfs_device { my $usb_root = -f "$dev_path/bInterfaceNumber" && "../" || -f "$dev_path/idVendor" && ""; my $is_pcmcia = -f "$dev_path/card_id"; my $sysfs_ids; - my $bus = get_sysfs_field_from_link($dev_path, "bus"); + my $bus = get_sysfs_field_from_link($dev_path, "subsystem"); #- FIXME: use $bus if ($is_pcmcia) { $sysfs_ids = { modalias => $dev_cat->('modalias') }; -- cgit v1.2.1