From 79c49c420652e6368c0c26eb177671ab3809f27e Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 22 Feb 2008 11:40:32 +0000 Subject: remove doble (well, it was triple) ndiswrapper module reload in case of conflicts --- lib/network/ndiswrapper.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/network/ndiswrapper.pm') 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 -- cgit v1.2.1