[package] madwifi: clear variables used in for loop
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Jun 2009 13:53:10 +0000 (13:53 +0000)
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Jun 2009 13:53:10 +0000 (13:53 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16308 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/files/lib/wifi/madwifi.sh

index f9a06b7..7056611 100755 (executable)
@@ -128,8 +128,7 @@ enable_atheros() {
 
        local first=1
        for vif in $vifs; do
-               local start_hostapd vif_txpower
-               nosbeacon=
+               local start_hostapd= vif_txpower= nosbeacon=
                config_get ifname "$vif" ifname
                config_get enc "$vif" encryption
                config_get eap_type "$vif" eap_type
This page took 0.022716 seconds and 4 git commands to generate.