Author: fmueller
Date: Thu Aug 12 07:31:20 2010
New Revision: 9040

URL: http://svn.slimdevices.com/jive?rev=9040&view=rev
Log:
Bug: 16408 
Description: Wireless signal strength being zero is an additional (and quicker) 
indication that the wireless link is down. 

Modified:
    
7.6/trunk/squeezeplay/src/squeezeplay_squeezeos/share/jive/net/Networking.lua

Modified: 
7.6/trunk/squeezeplay/src/squeezeplay_squeezeos/share/jive/net/Networking.lua
URL: 
http://svn.slimdevices.com/jive/7.6/trunk/squeezeplay/src/squeezeplay_squeezeos/share/jive/net/Networking.lua?rev=9040&r1=9039&r2=9040&view=diff
==============================================================================
--- 
7.6/trunk/squeezeplay/src/squeezeplay_squeezeos/share/jive/net/Networking.lua 
(original)
+++ 
7.6/trunk/squeezeplay/src/squeezeplay_squeezeos/share/jive/net/Networking.lua 
Thu Aug 12 07:31:20 2010
@@ -1993,7 +1993,9 @@
                local status = ifObj:t_wpaStatus()
 
                if ifObj:isWireless() then
-                       if status.wpa_state ~= "COMPLETED" then
+                       local percentage, quality = ifObj:getSignalStrength()
+
+                       if (status.wpa_state ~= "COMPLETED") or (quality == 0) 
then
                                callback(false, -1, "NET_LINK_WIRELESS_NOK")
                                return
                        end

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

Reply via email to