summaryrefslogtreecommitdiff
path: root/package/network/services/hostapd/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-08 11:09:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-10-08 11:09:27 +0000
commit4689bc8517d0387b75f3ff42c42444dd403a4847 (patch)
tree4532e69885b40132eb4f172751100564be133b67 /package/network/services/hostapd/files
parentc8e742a080d935feebed8aa71e10f87570aa226c (diff)
downloadmtk-20170518-4689bc8517d0387b75f3ff42c42444dd403a4847.zip
mtk-20170518-4689bc8517d0387b75f3ff42c42444dd403a4847.tar.gz
mtk-20170518-4689bc8517d0387b75f3ff42c42444dd403a4847.tar.bz2
hostapd: Add eap_reauth_period config option
This adds the eap_reauth_period to be used for modifying the RADIUS server reauthentication authentication period, a parameter that gets passed directly to the hostapd configuration file. Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> SVN-Revision: 38334
Diffstat (limited to 'package/network/services/hostapd/files')
-rw-r--r--package/network/services/hostapd/files/hostapd.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index e25e870..0f1a619 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -108,6 +108,8 @@ hostapd_set_bss_options() {
[ -n "$acct_port" ] && append "$var" "acct_server_port=$acct_port" "$N"
config_get acct_secret "$vif" acct_secret
[ -n "$acct_secret" ] && append "$var" "acct_server_shared_secret=$acct_secret" "$N"
+ config_get eap_reauth_period "$vif" eap_reauth_period
+ [ -n "$eap_reauth_period" ] && append "$var" "eap_reauth_period=$eap_reauth_period" "$N"
config_get dae_client "$vif" dae_client
config_get dae_secret "$vif" dae_secret
[ -n "$dae_client" -a -n "$dae_secret" ] && {