1
0
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:
imdano
2008-03-05 23:29:48 +00:00
parent bb8278625d
commit ae0dddb22d
2 changed files with 35 additions and 14 deletions

View File

@@ -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'