projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb91bb
)
[package] mac80211: rename max_clients option to maxassoc, this brings it in line...
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 19 Dec 2010 13:33:55 +0000
(13:33 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 19 Dec 2010 13:33:55 +0000
(13:33 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24726
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/mac80211/files/lib/wifi/mac80211.sh
patch
|
blob
|
history
diff --git
a/package/mac80211/files/lib/wifi/mac80211.sh
b/package/mac80211/files/lib/wifi/mac80211.sh
index
2bd370b
..
2f4abd0
100644
(file)
--- 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 max
assoc "$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
}
+${max
assoc:+max_num_sta=$maxassoc
}
EOF
}