summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/templates/wifi/hostapd.conf.j23
1 files changed, 1 insertions, 2 deletions
diff --git a/data/templates/wifi/hostapd.conf.j2 b/data/templates/wifi/hostapd.conf.j2
index 93005f3d4..c3f32da72 100644
--- a/data/templates/wifi/hostapd.conf.j2
+++ b/data/templates/wifi/hostapd.conf.j2
@@ -342,8 +342,7 @@ vht_oper_chwidth={{ capabilities.vht.channel_set_width }}
{% set output = namespace(value='') %}
{% if capabilities.vht.channel_set_width is vyos_defined('2') %}
{% set output.value = output.value ~ '[VHT160]' %}
-{% endif %}
-{% if capabilities.vht.channel_set_width is vyos_defined('3') %}
+{% elif capabilities.vht.channel_set_width is vyos_defined('3') %}
{% set output.value = output.value ~ '[VHT160-80PLUS80]' %}
{% endif %}
{% if capabilities.vht.stbc.tx is vyos_defined %}