Changeset 28198


Ignore:
Timestamp:
2011-09-09T01:21:36+02:00 (6 years ago)
Author:
jow
Message:

[package] mac80211: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio

File:
1 edited

Legend:

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

    r28057 r28198  
    207207scan_mac80211() { 
    208208        local device="$1" 
    209         local adhoc sta ap monitor mesh 
     209        local adhoc sta ap monitor mesh disabled 
    210210 
    211211        config_get vifs "$device" vifs 
    212212        for vif in $vifs; do 
     213                config_get_bool disabled "$vif" disabled 0 
     214                [ $disabled = 0 ] || continue 
     215 
    213216                config_get mode "$vif" mode 
    214217                case "$mode" in 
Note: See TracChangeset for help on using the changeset viewer.