summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-19 15:51:57 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-19 15:51:57 +0000
commite88b5cff26aeeb3b83344d8b5ef393e046978bf8 (patch)
treee73c03d907305b35e1d475ce8adafe8668623942 /perl-install/network/netconnect.pm
parentcda957a8b1ffc8741c48e4c147a7a5bac78b0e84 (diff)
downloaddrakx-e88b5cff26aeeb3b83344d8b5ef393e046978bf8.tar
drakx-e88b5cff26aeeb3b83344d8b5ef393e046978bf8.tar.gz
drakx-e88b5cff26aeeb3b83344d8b5ef393e046978bf8.tar.bz2
drakx-e88b5cff26aeeb3b83344d8b5ef393e046978bf8.tar.xz
drakx-e88b5cff26aeeb3b83344d8b5ef393e046978bf8.zip
unload ndiswrapper first so that the newly installed .inf files will be read
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index bea7ede93..d6a790966 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -1151,6 +1151,8 @@ notation (for example, 1.2.3.4).")),
my $eth = find { $_->[0] eq $ntf_name } @all_cards;
$ntf_name and modules::unload($eth->[1]);
}
+ modules::unload("ndiswrapper");
+ #- unload ndiswrapper first so that the newly installed .inf files will be read
modules::load("ndiswrapper");
#- FIXME: move this somewhere in get_eth_cards, so that configure_eth_aliases correctly writes ndiswrapper