Fix network out of range detection
[connman] / test / disable-network
index beea2f1..0f26154 100755 (executable)
@@ -15,6 +15,9 @@ for path in properties["Devices"]:
 
        properties = device.GetProperties()
 
+       if (properties["Type"] != "wifi" and properties["Type"] != "wimax"):
+               continue;
+
        print "[ %s ]" % (path)
 
        for path in properties["Networks"]: