projects
/
openwrt
/
staging
/
chunkeey.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ed4de
)
hostapd: add support for specifying the maximum number of clients
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 19 Dec 2010 11:56:56 +0000
(11:56 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 19 Dec 2010 11:56:56 +0000
(11:56 +0000)
Signed-off-by: Alexander Couzens <lynxis@c-base.org>
SVN-Revision: 24725
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 9ebc0be0320f8fac3084d82312c6543e7a6cd333..2bd370b8753313358f477d4bbd6406e4fce6762d 100644
(file)
--- a/
package/mac80211/files/lib/wifi/mac80211.sh
+++ b/
package/mac80211/files/lib/wifi/mac80211.sh
@@
-105,11
+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
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}
EOF
}