mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 18:15:00 +02:00
[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
This commit is contained in:
parent
32dcd7a566
commit
fe23d30dfa
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user