diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-03 17:19:04 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-03 17:19:04 +0100 |
commit | f8a4314503072af90d8a4ab443898be7c73f3895 (patch) | |
tree | ddf4599eb7d037e6e4606a1c3ff59f478563d519 /data/templates/wifi/hostapd.conf.tmpl | |
parent | 3c03131f6caa3e1abd11bb91d0ce972bd37d9239 (diff) | |
download | vyos-1x-f8a4314503072af90d8a4ab443898be7c73f3895.tar.gz vyos-1x-f8a4314503072af90d8a4ab443898be7c73f3895.zip |
wireless: T3043: rename "wpa mode both" to "wpa+wpa2"
Diffstat (limited to 'data/templates/wifi/hostapd.conf.tmpl')
-rw-r--r-- | data/templates/wifi/hostapd.conf.tmpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/data/templates/wifi/hostapd.conf.tmpl b/data/templates/wifi/hostapd.conf.tmpl index ba1453583..409c9d3bc 100644 --- a/data/templates/wifi/hostapd.conf.tmpl +++ b/data/templates/wifi/hostapd.conf.tmpl @@ -532,8 +532,11 @@ wep_key{{ loop.index -1 }}={{ security.wep.key }} # and/or WPA2 (full IEEE 802.11i/RSN): # bit0 = WPA # bit1 = IEEE 802.11i/RSN (WPA2) (dot11RSNAEnabled) +# Note that WPA3 is also configured with bit1 since it uses RSN just like WPA2. +# In other words, for WPA3, wpa=2 is used the configuration (and +# wpa_key_mgmt=SAE for WPA3-Personal instead of wpa_key_mgmt=WPA-PSK). {% if security.wpa.mode is defined %} -{% if security.wpa.mode == 'both' %} +{% if security.wpa.mode == 'wpa+wpa2' %} wpa=3 {% elif security.wpa.mode == 'wpa2' %} wpa=2 |