aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/files/lib/wifi/mac80211.sh
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
commit7526fd86276fe0bccefede69eed97583d3d06b70 (patch)
treececbb6c34c6ceb8dffa5555f0f3d67bd5b53bba4 /package/mac80211/files/lib/wifi/mac80211.sh
parent3347f8e360195ecccc2e8cb482b4d3efb40035f7 (diff)
downloadupstream-7526fd86276fe0bccefede69eed97583d3d06b70.tar.gz
upstream-7526fd86276fe0bccefede69eed97583d3d06b70.tar.bz2
upstream-7526fd86276fe0bccefede69eed97583d3d06b70.zip
mac80211: rename max_clients option to maxassoc, this brings it in line with broadcom
SVN-Revision: 24726
Diffstat (limited to 'package/mac80211/files/lib/wifi/mac80211.sh')
-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
}