From: Marcel Holtmann Date: Sat, 13 Dec 2008 01:00:57 +0000 (+0100) Subject: Fix usage of wrong network name property X-Git-Tag: accepted/2.0alpha-wayland/20121110.002834~4469 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac83f1cd2872ecc88b4276eeda02fce2ebec553c;p=profile%2Fivi%2Fconnman.git Fix usage of wrong network name property --- 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])