hostapd: Add eap_reauth_period config option
authorFelix Fietkau <nbd@openwrt.org>
Tue, 8 Oct 2013 11:09:27 +0000 (11:09 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 8 Oct 2013 11:09:27 +0000 (11:09 +0000)
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

package/network/services/hostapd/files/hostapd.sh

index e25e870..0f1a619 100644 (file)
@@ -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" ] && {