summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-16 21:25:40 +0200
committerChristian Poessinger <christian@poessinger.com>2020-09-16 21:25:40 +0200
commit857c4c10248a4f74b9b73d302ed9776cb818ff1b (patch)
treed7003f8710ff59037db61cde2dd8d0c7c670e6b7 /data/templates
parent1a16cd01141d4e8e4c7cfe14fd30caacdfe8b376 (diff)
downloadvyos-1x-857c4c10248a4f74b9b73d302ed9776cb818ff1b.tar.gz
vyos-1x-857c4c10248a4f74b9b73d302ed9776cb818ff1b.zip
wireless: T2887: hostapd template cleanup
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/wifi/hostapd.conf.tmpl7
1 files changed, 2 insertions, 5 deletions
diff --git a/data/templates/wifi/hostapd.conf.tmpl b/data/templates/wifi/hostapd.conf.tmpl
index b00515d76..136942ca8 100644
--- a/data/templates/wifi/hostapd.conf.tmpl
+++ b/data/templates/wifi/hostapd.conf.tmpl
@@ -341,13 +341,10 @@ vht_oper_chwidth={{ capabilities.vht.channel_set_width }}
{% set output.value = output.value + '[HTC-VHT]' %}
{% endif %}
{% if capabilities.vht.antenna_pattern_fixed is defined %}
-{% set output.value = output.value + '[RX-ANTENNA-PATTERN]' %}
-{% endif %}
-{% if capabilities.vht.antenna_pattern_fixed is defined %}
-{% set output.value = output.value + '[TX-ANTENNA-PATTERN]' %}
+{% set output.value = output.value + '[RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN]' %}
{% endif %}
{% if capabilities.vht.max_mpdu is defined %}
-{% set output.value = output.value + '[MAX-MPDU-' + capabilities.vht.max_mpdu + ']' %}
+{% set output.value = output.value + '[MAX-MPDU-' + capabilities.vht.max_mpdu + ']' %}
{% endif %}
{% if capabilities.vht.max_mpdu_exp is defined %}
{% set output.value = output.value + '[MAX-A-MPDU-LEN-EXP-' + capabilities.vht.max_mpdu_exp + ']' %}