mac80211: rename max_clients option to maxassoc, this brings it in line with broadcom
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 19 Dec 2010 13:33:55 +0000 (13:33 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 19 Dec 2010 13:33:55 +0000 (13:33 +0000)
SVN-Revision: 24726

package/mac80211/files/lib/wifi/mac80211.sh

index 2bd370b8753313358f477d4bbd6406e4fce6762d..2f4abd0852a091c4d07ef11bcb2e0823edfb627d 100644 (file)
@@ -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
 }