| Index: server/site_wlan_connect.py
|
| diff --git a/server/site_wlan_connect.py b/server/site_wlan_connect.py
|
| index 35a42d41c94ff58be9cf3eb424a73be170749771..6dc16cf8d6fc8cd781be180d74e8745bf753b0bc 100644
|
| --- a/server/site_wlan_connect.py
|
| +++ b/server/site_wlan_connect.py
|
| @@ -165,6 +165,8 @@ def main(argv):
|
| help='Report state changes and other debug info')
|
| parser.add_option('--find_timeout', dest='find_timeout', type='int',
|
| default=10, help='This is a hidden network')
|
| + parser.add_option('--mode', dest='mode', default='managed',
|
| + help='This is a hidden network')
|
| (options, args) = parser.parse_args(argv[1:])
|
|
|
| if len(argv) <= 4:
|
| @@ -179,7 +181,7 @@ def main(argv):
|
|
|
| connection_settings = {
|
| 'Type': 'wifi',
|
| - 'Mode': 'managed',
|
| + 'Mode': options.mode,
|
| 'SSID': ssid,
|
| 'Security': security
|
| }
|
|
|