summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
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