Changeset 11943


Ignore:
Timestamp:
2008-07-26T20:32:54+02:00 (8 years ago)
Author:
florian
Message:

Allow madwifi devices to be set in monitor mode

File:
1 edited

Legend:

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

    r11882 r11943  
    1515                config_get mode "$vif" mode 
    1616                case "$mode" in 
    17                         adhoc|ahdemo|sta|ap) 
     17                        adhoc|ahdemo|sta|ap|monitor) 
    1818                                append $mode "$vif" 
    1919                        ;; 
     
    4444        esac 
    4545 
    46         config_set "$device" vifs "${ap:+$ap }${adhoc:+$adhoc }${ahdemo:+$ahdemo }${sta:+$sta }${wds:+$wds }" 
     46        config_set "$device" vifs "${ap:+$ap }${adhoc:+$adhoc }${ahdemo:+$ahdemo }${sta:+$sta }${wds:+$wds }${monitor:+$monitor}" 
    4747} 
    4848 
Note: See TracChangeset for help on using the changeset viewer.