summaryrefslogtreecommitdiffstats
path: root/lib/network/ndiswrapper.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-22 11:40:32 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-22 11:40:32 +0000
commit79c49c420652e6368c0c26eb177671ab3809f27e (patch)
treeaed118cf77d125208b006c5a2f4c7505498412d1 /lib/network/ndiswrapper.pm
parentdc50baf601d97a54e906ae4fdae06b9a5be4059c (diff)
downloaddrakx-net-79c49c420652e6368c0c26eb177671ab3809f27e.tar
drakx-net-79c49c420652e6368c0c26eb177671ab3809f27e.tar.gz
drakx-net-79c49c420652e6368c0c26eb177671ab3809f27e.tar.bz2
drakx-net-79c49c420652e6368c0c26eb177671ab3809f27e.tar.xz
drakx-net-79c49c420652e6368c0c26eb177671ab3809f27e.zip
remove doble (well, it was triple) ndiswrapper module reload in case of conflicts
Diffstat (limited to 'lib/network/ndiswrapper.pm')
-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