summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-13 02:00:57 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-13 02:00:57 +0100
commitac83f1cd2872ecc88b4276eeda02fce2ebec553c (patch)
tree706fe72fbd8939d4932e34f4767ea206c2561738 /test
parent78def9a9658469d9b666c53b901a70b3fd3c209e (diff)
downloadconnman-ac83f1cd2872ecc88b4276eeda02fce2ebec553c.tar.gz
connman-ac83f1cd2872ecc88b4276eeda02fce2ebec553c.tar.bz2
connman-ac83f1cd2872ecc88b4276eeda02fce2ebec553c.zip
Fix usage of wrong network name property
Diffstat (limited to 'test')
-rwxr-xr-xtest/select-network2
-rwxr-xr-xtest/set-passphrase2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/select-network b/test/select-network
index b5a0259f..e7d1a635 100755
--- a/test/select-network
+++ b/test/select-network
@@ -34,6 +34,6 @@ for path in properties["Devices"]:
if (properties["Connected"] == dbus.Boolean(1)):
continue
- if (properties["WiFi.Name"] == sys.argv[1]):
+ if (properties["Name"] == sys.argv[1]):
print "Connecting %s" % (path)
network.Connect()
diff --git a/test/set-passphrase b/test/set-passphrase
index 1c0d0f18..f80d7545 100755
--- a/test/set-passphrase
+++ b/test/set-passphrase
@@ -29,6 +29,6 @@ for path in properties["Devices"]:
properties = network.GetProperties()
- if (properties["WiFi.Name"] == sys.argv[1]):
+ if (properties["Name"] == sys.argv[1]):
print "Setting passphrase for %s" % (path)
network.SetProperty("WiFi.Passphrase", sys.argv[2])