mirror of
https://github.com/gryf/wicd.git
synced 2025-12-22 14:07:59 +01:00
Increased time allowed for wpa_supplicant to complete authentication.
Reduced external calls (when possible) in update_status_bar. pulse_progress_bar is now only run when connecting to a network. Only check encryption settings on connect, instead of all of them, which shouldn't be necessary.
This commit is contained in:
@@ -806,7 +806,7 @@ class WirelessInterface(Interface):
|
||||
if self.wpa_driver == RALINK_DRIVER:
|
||||
return True
|
||||
|
||||
MAX_TIME = 5
|
||||
MAX_TIME = 10
|
||||
MAX_DISCONNECTED_TIME = 3
|
||||
while (time.time() - auth_time) < MAX_TIME:
|
||||
cmd = 'wpa_cli -i ' + self.iface + ' status'
|
||||
|
||||
Reference in New Issue
Block a user