diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-13 02:00:57 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-13 02:00:57 +0100 |
commit | ac83f1cd2872ecc88b4276eeda02fce2ebec553c (patch) | |
tree | 706fe72fbd8939d4932e34f4767ea206c2561738 /test | |
parent | 78def9a9658469d9b666c53b901a70b3fd3c209e (diff) | |
download | connman-ac83f1cd2872ecc88b4276eeda02fce2ebec553c.tar.gz connman-ac83f1cd2872ecc88b4276eeda02fce2ebec553c.tar.bz2 connman-ac83f1cd2872ecc88b4276eeda02fce2ebec553c.zip |
Fix usage of wrong network name property
Diffstat (limited to 'test')
-rwxr-xr-x | test/select-network | 2 | ||||
-rwxr-xr-x | test/set-passphrase | 2 |
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]) |