Author: titmuss
Date: Tue Jan 29 15:19:44 2008
New Revision: 1683

URL: http://svn.slimdevices.com?rev=1683&root=Jive&view=rev
Log:
Bug: 5467
Description:
Don't list Ray's discovered via ssid if they have not been seen for a while.


Modified:
    
branches/7.0/jive/src/pkg/jive/share/applets/SelectPlayer/SelectPlayerApplet.lua

Modified: 
branches/7.0/jive/src/pkg/jive/share/applets/SelectPlayer/SelectPlayerApplet.lua
URL: 
http://svn.slimdevices.com/branches/7.0/jive/src/pkg/jive/share/applets/SelectPlayer/SelectPlayerApplet.lua?rev=1683&root=Jive&r1=1682&r2=1683&view=diff
==============================================================================
--- 
branches/7.0/jive/src/pkg/jive/share/applets/SelectPlayer/SelectPlayerApplet.lua
 (original)
+++ 
branches/7.0/jive/src/pkg/jive/share/applets/SelectPlayer/SelectPlayerApplet.lua
 Tue Jan 29 15:19:44 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