--- ndisgtk-0.7.2 2007-06-11 17:59:40.000000000 +0200 +++ ndisgtk-new 2007-09-28 17:48:31.000000000 +0200 @@ -282,7 +282,7 @@ error_dialog(_("Not a valid driver .inf file."), self.install_dialog) else: # Attempt to install driver - output = commands.getoutput("ndiswrapper -i %s" % inf_file) + output = commands.getoutput("ndiswrapper -i '%s'" % inf_file) commands.getoutput("ndiswrapper -m") # Attempt to detect errors @@ -290,8 +290,9 @@ driver_name = output.split()[0] error_dialog(_("Driver %s is already installed.") % driver_name, self.install_dialog) else: - # Assume driver installed successfully. Set up and load module + # Assume driver installed successfully. Set up and reload module os.system("ndiswrapper -m") + os.system("rmmod ndiswrapper") os.system("modprobe ndiswrapper") self.get_driver_list()