Add setting for the network mode
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 26 Mar 2009 08:53:48 +0000 (01:53 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 26 Mar 2009 08:53:48 +0000 (01:53 -0700)
test/join-network

index 576c602..41cb492 100755 (executable)
@@ -36,6 +36,7 @@ for path in properties["Devices"]:
                security = "none"
                passphrase = ""
 
-       device.JoinNetwork({ "WiFi.SSID": sys.argv[1],
+       device.JoinNetwork({ "WiFi.Mode": "managed",
+                                       "WiFi.SSID": sys.argv[1],
                                        "WiFi.Security": security,
                                        "WiFi.Passphrase": passphrase })