Changeset 33412


Ignore:
Timestamp:
2012-09-15T12:21:18+02:00 (5 years ago)
Author:
nbd
Message:

hostapd: add a config option for the inactivity timeout

File:
1 edited

Legend:

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

    r33400 r33412  
    1212        config_get_bool disassoc_low_ack "$vif" disassoc_low_ack 1 
    1313        config_get max_num_sta "$vif" max_num_sta 0 
     14        config_get max_inactivity "$vif" max_inactivity 0 
    1415 
    1516        config_get device "$vif" device 
     
    2425        if [ "$max_num_sta" -gt 0 ]; then 
    2526                append "$var" "max_num_sta=$max_num_sta" "$N" 
     27        fi 
     28        if [ "$max_inactivity" -gt 0 ]; then 
     29                append "$var" "ap_max_inactivity=$max_inactivity" "$N" 
    2630        fi 
    2731        append "$var" "disassoc_low_ack=$disassoc_low_ack" "$N" 
Note: See TracChangeset for help on using the changeset viewer.