mirror of
https://github.com/gryf/wicd.git
synced 2026-01-04 04:44:12 +01:00
Actually display the error messag we get when scanning fails in the ioctl backend.
Make sure we actually abort the connection attempt when authentication validation fails.
This commit is contained in:
@@ -866,7 +866,8 @@ class WirelessConnectThread(ConnectThread):
|
||||
if self.network.get('enctype'):
|
||||
self.SetStatus('validating_authentication')
|
||||
if not wiface.ValidateAuthentication(time.time()):
|
||||
if not self.connect_result:
|
||||
print "connect result is %s" % self.connect_result
|
||||
if not self.connect_result or self.connect_result == 'Failed':
|
||||
self.abort_connection('bad_pass')
|
||||
|
||||
# Set up gateway, IP address, and DNS servers.
|
||||
|
||||
Reference in New Issue
Block a user