[package] mac80211: change wireless ifname numbering schema
[openwrt.git] / package / madwifi / files / lib / wifi / madwifi.sh
index bd93d47..93e68f5 100755 (executable)
@@ -28,13 +28,15 @@ find_atheros_phy() {
 scan_atheros() {
        local device="$1"
        local wds
-       local adhoc ahdemo sta ap monitor
+       local adhoc ahdemo sta ap monitor disabled
 
        [ ${device%[0-9]} = "wifi" ] && config_set "$device" phy "$device"
        
        config_get vifs "$device" vifs
        for vif in $vifs; do
-       
+               config_get_bool disabled "$vif" disabled 0
+               [ $disabled = 0 ] || continue
+
                config_get ifname "$vif" ifname
                config_set "$vif" ifname "${ifname:-ath}"
                
This page took 0.022702 seconds and 4 git commands to generate.