Changeset 24725


Ignore:
Timestamp:
2010-12-19T12:56:56+01:00 (7 years ago)
Author:
nbd
Message:

hostapd: add support for specifying the maximum number of clients

Signed-off-by: Alexander Couzens <lynxis@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/files/lib/wifi/mac80211.sh

    r24441 r24725  
    106106        config_get macaddr "$vif" macaddr 
    107107        config_get_bool hidden "$vif" hidden 0 
     108        config_get max_clients "$vif" max_clients 
    108109        cat >> /var/run/hostapd-$phy.conf <<EOF 
    109110$hostapd_cfg 
     
    111112bssid=$macaddr 
    112113ignore_broadcast_ssid=$hidden 
     114${max_clients:+max_num_sta=$max_clients} 
    113115EOF 
    114116} 
Note: See TracChangeset for help on using the changeset viewer.