aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-12-19 13:33:55 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-12-19 13:33:55 +0000
commit2b5c0fa98888a4fcd4cca8f2430a2449e7464061 (patch)
tree208b94f3ee6eb4cf491f2bcb6547085d47f5e920 /package
parent3fb91bbae440a983c52d84813ed2cee19a2102f2 (diff)
downloadupstream-2b5c0fa98888a4fcd4cca8f2430a2449e7464061.tar.gz
upstream-2b5c0fa98888a4fcd4cca8f2430a2449e7464061.tar.bz2
upstream-2b5c0fa98888a4fcd4cca8f2430a2449e7464061.zip
[package] mac80211: rename max_clients option to maxassoc, this brings it in line with broadcom
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24726 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 2bd370b875..2f4abd0852 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -105,13 +105,13 @@ mac80211_hostapd_setup_bss() {
config_get macaddr "$vif" macaddr
config_get_bool hidden "$vif" hidden 0
- config_get max_clients "$vif" max_clients
+ config_get maxassoc "$vif" maxassoc
cat >> /var/run/hostapd-$phy.conf <<EOF
$hostapd_cfg
wmm_enabled=1
bssid=$macaddr
ignore_broadcast_ssid=$hidden
-${max_clients:+max_num_sta=$max_clients}
+${maxassoc:+max_num_sta=$maxassoc}
EOF
}