Merge branch 'vuplus_experimental' of code.vuplus.com:/opt/repository/dvbapp into...
authoroskwon <oskwon@dev3>
Sun, 18 May 2014 04:27:28 +0000 (13:27 +0900)
committeroskwon <oskwon@dev3>
Sun, 18 May 2014 04:27:28 +0000 (13:27 +0900)
lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py

index 1331a69..24148a5 100755 (executable)
@@ -977,7 +977,7 @@ class WlanScanAp(Screen,HelpableScreen):
        def activateIface(self):
                os_system("ifconfig "+self.iface+" up")
                iNetwork.setAdapterAttribute(self.iface, "up", True)
-               self.updateStatusTimer.start(2000, True)
+               self.updateStatusTimer.start(10, True)
                
 
        def updateStatus(self):
@@ -987,7 +987,7 @@ class WlanScanAp(Screen,HelpableScreen):
 
        def updateAPList(self):
                self.updateStatusTimer.stop()
-               self.updateStatusTimer.start(8000, True)
+               self.updateStatusTimer.start(5000, True)
 
        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"))
+                       self.updateAPList()
                        return
 
                try: