From: Vasilis Tsiligiannis Date: Wed, 3 Jun 2009 13:53:10 +0000 (+0000) Subject: madwifi: clear variables used in for loop X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=121368fbc83a3d18679f39e68f4449b35493bf2e;p=openwrt%2Fstaging%2Fynezz.git madwifi: clear variables used in for loop SVN-Revision: 16308 --- diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index f9a06b7af6..7056611f63 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -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