mirror of
https://github.com/gryf/wicd.git
synced 2025-12-23 22:52:33 +01:00
add a 1 second sleep after setting essid but before scanning
This commit is contained in:
@@ -605,6 +605,8 @@ class Wireless(Controller):
|
||||
if essid is not None:
|
||||
print 'Setting hidden essid' + essid
|
||||
wiface.SetEssid(essid)
|
||||
# sleep for a bit; scanning to fast will result in nothing
|
||||
time.sleep(1)
|
||||
|
||||
aps = wiface.GetNetworks()
|
||||
aps.sort(cmp=comp, reverse=True)
|
||||
|
||||
Reference in New Issue
Block a user