summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/ndiswrapper.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/network/ndiswrapper.pm b/lib/network/ndiswrapper.pm
index 4a9e326..e92e31c 100644
--- a/lib/network/ndiswrapper.pm
+++ b/lib/network/ndiswrapper.pm
@@ -84,8 +84,6 @@ sub setup_device {
Do you really want to use a ndiswrapper driver?", $conflicts[0][1])) or return;
#- unload the old module and try immediately to load ndiswrapper
eval { modules::unload($conflicts[0][1]) };
- eval { modules::unload("ndiswrapper") };
- eval { modules::load("ndiswrapper") };
}
#- unload ndiswrapper first so that the newly installed .inf files will be read