diff options
-rw-r--r-- | perl-install/network/ndiswrapper.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/ndiswrapper.pm b/perl-install/network/ndiswrapper.pm index c7a592c75..83f0c3704 100644 --- a/perl-install/network/ndiswrapper.pm +++ b/perl-install/network/ndiswrapper.pm @@ -58,7 +58,7 @@ sub find_matching_devices { -l $dev_path or next; my $map = detect_devices::get_sysfs_device_id_map($dev_path); if (every { hex(chomp_(cat_("$dev_path/" . $map->{$_}))) eq $device->{$_} } keys %$map) { - my $driver = readlink("$net_path/$interface/device/driver"); + my $driver = readlink("$dev_path/driver"); $driver =~ s!.*/!!; push @devices, [ $interface, $driver ] if $driver; } |