projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
48c1fa0
)
[WirelessLanSetup] fix AP scan interval
author
hschang
<chang@dev3>
Thu, 15 May 2014 10:22:10 +0000
(19:22 +0900)
committer
hschang
<chang@dev3>
Thu, 15 May 2014 11:50:20 +0000
(20:50 +0900)
lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py
patch
|
blob
|
history
diff --git
a/lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py
b/lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py
index
1331a69
..
24148a5
100755
(executable)
--- a/
lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py
+++ b/
lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py
@@
-977,7
+977,7
@@
class WlanScanAp(Screen,HelpableScreen):
def activateIface(self):
os_system("ifconfig "+self.iface+" up")
iNetwork.setAdapterAttribute(self.iface, "up", True)
def activateIface(self):
os_system("ifconfig "+self.iface+" up")
iNetwork.setAdapterAttribute(self.iface, "up", True)
- self.updateStatusTimer.start(
200
0, True)
+ self.updateStatusTimer.start(
1
0, True)
def updateStatus(self):
def updateStatus(self):
@@
-987,7
+987,7
@@
class WlanScanAp(Screen,HelpableScreen):
def updateAPList(self):
self.updateStatusTimer.stop()
def updateAPList(self):
self.updateStatusTimer.stop()
- self.updateStatusTimer.start(
8
000, True)
+ self.updateStatusTimer.start(
5
000, True)
def left(self):
self["aplist"].pageUp()
def left(self):
self["aplist"].pageUp()
@@
-1034,6
+1034,7
@@
class WlanScanAp(Screen,HelpableScreen):
if Iwscanresult is None or len(Iwscanresult.aplist) == 0:
self["Status"].setText(("NO AP detected"))
if Iwscanresult is None or len(Iwscanresult.aplist) == 0:
self["Status"].setText(("NO AP detected"))
+ self.updateAPList()
return
try:
return
try: