This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 test/select-network |    2 +-
 test/set-passphrase |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ac83f1cd2872ecc88b4276eeda02fce2ebec553c
Author: Marcel Holtmann <[email protected]>
Date:   Sat Dec 13 02:00:57 2008 +0100

    Fix usage of wrong network name property


Diff in this email is a maximum of 400 lines.
diff --git a/test/select-network b/test/select-network
index b5a0259..e7d1a63 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 1c0d0f1..f80d754 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])
_______________________________________________
Commits mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/commits

Reply via email to