hostapd: move reading of rsn_preauth out of auth_type=eap context

rsn_preauth is used outside of "case $auth_type", so if it is set
for an EAP-enabled SSID, it would also be set for the following
non-EAP-enabled SSIDs, because it would not be read again.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 41012
owl
Felix Fietkau 2014-06-05 11:55:36 +00:00
parent ac69d576b4
commit c20bb27aad
1 changed files with 3 additions and 3 deletions

View File

@ -152,7 +152,7 @@ hostapd_set_bss_options() {
maxassoc max_inactivity disassoc_low_ack isolate auth_cache \ maxassoc max_inactivity disassoc_low_ack isolate auth_cache \
wps_pushbutton wps_label ext_registrar wps_pbc_in_m1 \ wps_pushbutton wps_label ext_registrar wps_pbc_in_m1 \
wps_device_type wps_device_name wps_manufacturer wps_pin \ wps_device_type wps_device_name wps_manufacturer wps_pin \
macfilter ssid wmm hidden short_preamble macfilter ssid wmm hidden short_preamble rsn_preauth
set_default isolate 0 set_default isolate 0
set_default maxassoc 0 set_default maxassoc 0
@ -208,8 +208,8 @@ hostapd_set_bss_options() {
auth_server auth_secret auth_port \ auth_server auth_secret auth_port \
acct_server acct_secret acct_port \ acct_server acct_secret acct_port \
dae_client dae_secret dae_port \ dae_client dae_secret dae_port \
nasid rsn_preauth iapp_interface \ nasid iapp_interface ownip \
ownip eap_reauth_period eap_reauth_period
# legacy compatibility # legacy compatibility
[ -n "$auth_server" ] || json_get_var auth_server server [ -n "$auth_server" ] || json_get_var auth_server server