summaryrefslogtreecommitdiff
path: root/ansible/roles/hotspot/templates/hostapd.conf.j2
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-09-23 16:50:46 +0300
committerLars Wirzenius <liw@liw.fi>2016-09-26 16:10:09 +0300
commit20596acbfb10f92ee7ea04facaea68c3bd340c3f (patch)
treea77f3d78070fbbf53535b010cdd56290c6d0e610 /ansible/roles/hotspot/templates/hostapd.conf.j2
parentef137489a2af825da682169ed3a532c452e4f68c (diff)
downloadminipc-router-20596acbfb10f92ee7ea04facaea68c3bd340c3f.tar.gz
Move hotspot defaults to top level
Diffstat (limited to 'ansible/roles/hotspot/templates/hostapd.conf.j2')
-rw-r--r--ansible/roles/hotspot/templates/hostapd.conf.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/ansible/roles/hotspot/templates/hostapd.conf.j2 b/ansible/roles/hotspot/templates/hostapd.conf.j2
index 83ff514..3ce7744 100644
--- a/ansible/roles/hotspot/templates/hostapd.conf.j2
+++ b/ansible/roles/hotspot/templates/hostapd.conf.j2
@@ -5,16 +5,16 @@ bridge={{ bridge }}
driver=nl80211
ssid={{ ssid }}
country_code={{ country }}
-hw_mode={{ mode }}
+hw_mode={{ wifi_mode }}
ieee80211n={{ ieee80211n }}
-channel={{ channel }}
+channel={{ wifi_channel }}
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wmm_enabled=1
# bit1: WPA2 only
wpa=1
-wpa_passphrase={{ passphrase }}
+wpa_passphrase={{ wifi_passphrase }}
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256
wpa_pairwise=TKIP
rsn_pairwise=CCMP