diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-12-28 11:07:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-12-28 11:07:28 +0000 |
commit | 9996673fda82ea484b308c93fdb2b0f4face9147 (patch) | |
tree | 2cc6315e50f02bf43a3274a9ba012358b7c08351 /package | |
parent | 7a9cdb4a1f53f52bb407df1cc29bb126843aecf6 (diff) | |
download | upstream-9996673fda82ea484b308c93fdb2b0f4face9147.tar.gz upstream-9996673fda82ea484b308c93fdb2b0f4face9147.tar.bz2 upstream-9996673fda82ea484b308c93fdb2b0f4face9147.zip |
hostapd: fix the uci option name for ap isolate
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39173 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/network/services/hostapd/files/netifd.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index 1589bc1d5f..3f99480097 100644 --- a/package/network/services/hostapd/files/netifd.sh +++ b/package/network/services/hostapd/files/netifd.sh @@ -86,7 +86,7 @@ hostapd_common_add_bss_config() { config_add_boolean wds wmm hidden config_add_int maxassoc max_inactivity - config_add_boolean disassoc_low_ack ap_isolate short_preamble + config_add_boolean disassoc_low_ack isolate short_preamble config_add_int \ wep_rekey eap_reauth_period \ @@ -137,12 +137,12 @@ hostapd_set_bss_options() { json_get_vars \ wep_rekey wpa_group_rekey wpa_pair_rekey wpa_master_rekey \ - maxassoc max_inactivity disassoc_low_ack ap_isolate auth_cache \ + maxassoc max_inactivity disassoc_low_ack isolate auth_cache \ wps_pushbutton wps_label ext_registrar \ wps_device_type wps_device_name wps_manufacturer wps_pin \ macfilter ssid wmm hidden short_preamble - set_default ap_isolate 0 + set_default isolate 0 set_default maxassoc 0 set_default max_inactivity 0 set_default short_preamble 1 @@ -151,8 +151,8 @@ hostapd_set_bss_options() { set_default wmm 1 append bss_conf "ctrl_interface=/var/run/hostapd" - if [ "$ap_isolate" -gt 0 ]; then - append bss_conf "ap_isolate=$ap_isolate" "$N" + if [ "$isolate" -gt 0 ]; then + append bss_conf "ap_isolate=$isolate" "$N" fi if [ "$maxassoc" -gt 0 ]; then append bss_conf "max_num_sta=$maxassoc" "$N" |