summaryrefslogtreecommitdiff
path: root/data/templates/wifi/cfg80211.conf.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/wifi/cfg80211.conf.tmpl')
-rw-r--r--data/templates/wifi/cfg80211.conf.tmpl4
1 files changed, 1 insertions, 3 deletions
diff --git a/data/templates/wifi/cfg80211.conf.tmpl b/data/templates/wifi/cfg80211.conf.tmpl
index b21bacc1e..91df57aab 100644
--- a/data/templates/wifi/cfg80211.conf.tmpl
+++ b/data/templates/wifi/cfg80211.conf.tmpl
@@ -1,3 +1 @@
-{%- if regdom -%}
-options cfg80211 ieee80211_regdom={{ regdom }}
-{% endif %}
+{{ 'options cfg80211 ieee80211_regdom=' + regdom if regdom is defined }}