summaryrefslogtreecommitdiff
path: root/package/madwifi/files
diff options
context:
space:
mode:
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-03 13:53:10 +0000
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-03 13:53:10 +0000
commit4b7f3bb250578325ca4c8ffb8d476d18c84cfbd5 (patch)
treeaf73d34eb902020acd0e7d53cf94384890c6e022 /package/madwifi/files
parent7d01bddd188fbc4bed66f137c1a1ddda572f234d (diff)
[package] madwifi: clear variables used in for loop
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16308 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh3
1 files changed, 1 insertions, 2 deletions
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