Changeset 33400


Ignore:
Timestamp:
2012-09-14T16:08:35+02:00 (5 years ago)
Author:
nbd
Message:

hostapd: add an option for configuring the maximum number of connected clients

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/hostapd/files/hostapd.sh

    r33399 r33400  
    1111        config_get_bool ap_isolate "$vif" isolate 0 
    1212        config_get_bool disassoc_low_ack "$vif" disassoc_low_ack 1 
     13        config_get max_num_sta "$vif" max_num_sta 0 
    1314 
    1415        config_get device "$vif" device 
     
    2021        if [ "$ap_isolate" -gt 0 ]; then 
    2122                append "$var" "ap_isolate=$ap_isolate" "$N" 
     23        fi 
     24        if [ "$max_num_sta" -gt 0 ]; then 
     25                append "$var" "max_num_sta=$max_num_sta" "$N" 
    2226        fi 
    2327        append "$var" "disassoc_low_ack=$disassoc_low_ack" "$N" 
Note: See TracChangeset for help on using the changeset viewer.