From 6b1378cc92c3be92e8235182a51e800a628ade6a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 24 Feb 2004 13:28:07 +0000 Subject: fix module lookup for pcmcia cards --- perl-install/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 9e0181438..1614c88b6 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -145,7 +145,7 @@ sub real_main { my $find_lan_module = sub { if (my $dev = find { $_->{device} eq $ethntf->{DEVICE} } detect_devices::pcmcia_probe()) { # PCMCIA case - $module = $b->{driver}; + $module = $dev->{driver}; } elsif (my $dev = find { $_->[0] eq $ethntf->{DEVICE} } @all_cards) { $module = $dev->[1]; } else { $module = "" } -- cgit v1.2.1