Add cellular type to device's network list
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 28 Dec 2008 08:15:43 +0000 (09:15 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 28 Dec 2008 08:15:43 +0000 (09:15 +0100)
test/list-networks

index d8958fb..8b1ade1 100755 (executable)
@@ -25,7 +25,8 @@ for path in properties["Devices"]:
 
        properties = device.GetProperties()
 
-       if properties["Type"] not in ["wifi", "wimax", "bluetooth"]:
+       if properties["Type"] not in ["wifi", "wimax",
+                                       "bluetooth", "cellular"]:
                continue;
 
        print "[ %s ]" % (path)