Author: titmuss
Date: Tue Jan 29 16:04:22 2008
New Revision: 1687

URL: http://svn.slimdevices.com?rev=1687&root=Jive&view=rev
Log:
 [EMAIL PROTECTED] (orig r1683):  titmuss | 2008-01-29 23:19:44 +0000
 Bug: 5467
 Description:
 Don't list Ray's discovered via ssid if they have not been seen for a while.
 
 

Modified:
    trunk/   (props changed)
    trunk/jive/src/pkg/jive/share/applets/SelectPlayer/SelectPlayerApplet.lua

Propchange: trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Tue Jan 29 16:04:22 2008
@@ -1,3 +1,3 @@
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1679
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1683
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378

Modified: 
trunk/jive/src/pkg/jive/share/applets/SelectPlayer/SelectPlayerApplet.lua
URL: 
http://svn.slimdevices.com/trunk/jive/src/pkg/jive/share/applets/SelectPlayer/SelectPlayerApplet.lua?rev=1687&root=Jive&r1=1686&r2=1687&view=diff
==============================================================================
--- trunk/jive/src/pkg/jive/share/applets/SelectPlayer/SelectPlayerApplet.lua 
(original)
+++ trunk/jive/src/pkg/jive/share/applets/SelectPlayer/SelectPlayerApplet.lua 
Tue Jan 29 16:04:22 2008
@@ -384,9 +384,12 @@
 
                log:warn("MAC=", mac, " ETHER=", ether)
 
-               if mac and not self.scanResults[mac] then
+               if mac and not self.scanResults[mac] and
+                       -- FIXME Wireless class should be timing out entries
+                       -- See bug 6860.
+                       os.difftime(now, entry.lastScan) < 20 then
                        self.scanResults[mac] = {
-                               lastScan = os.time(),
+                               lastScan = entry.lastScan,
                                adhoc = ssid,
                        }
 

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to