projects
/
connman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extend script for joining network with security options
[connman]
/
test
/
select-network
diff --git
a/test/select-network
b/test/select-network
index
e7d1a63
..
376d9d2
100755
(executable)
--- a/
test/select-network
+++ b/
test/select-network
@@
-21,7
+21,7
@@
for path in properties["Devices"]:
properties = device.GetProperties()
if (properties["Type"] != "wifi" and properties["Type"] != "wimax"):
properties = device.GetProperties()
if (properties["Type"] != "wifi" and properties["Type"] != "wimax"):
- continue;
+ continue
print "[ %s ]" % (path)
print "[ %s ]" % (path)
@@
-31,6
+31,9
@@
for path in properties["Devices"]:
properties = network.GetProperties()
properties = network.GetProperties()
+ if "Name" not in properties.keys():
+ continue
+
if (properties["Connected"] == dbus.Boolean(1)):
continue
if (properties["Connected"] == dbus.Boolean(1)):
continue