summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-07 21:37:06 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-07 21:37:06 +0100
commit4bda9cabba26176d5abdad6b65b793e429fb763c (patch)
tree4e40f4f52a16e440f6b50ea984e45d0e72aaed09
parent4bf7f2b5a1d5e41726c0f9378dff18708e8df0d3 (diff)
downloadvyos-1x-4bda9cabba26176d5abdad6b65b793e429fb763c.tar.gz
vyos-1x-4bda9cabba26176d5abdad6b65b793e429fb763c.zip
wireless: T2107: fix connecting to networks without passphrase
-rwxr-xr-xsrc/conf_mode/interfaces-wireless.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py
index 2e82c6fc9..30074af78 100755
--- a/src/conf_mode/interfaces-wireless.py
+++ b/src/conf_mode/interfaces-wireless.py
@@ -760,6 +760,8 @@ network={
ssid="{{ ssid }}"
{%- if sec_wpa_passphrase %}
psk="{{ sec_wpa_passphrase }}"
+{% else %}
+ key_mgmt=NONE
{% endif %}
}