aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2009-06-03 13:53:10 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2009-06-03 13:53:10 +0000
commit1ef27048f7ab2bf6aa43f2416c1fd2632a29d992 (patch)
treeaf73d34eb902020acd0e7d53cf94384890c6e022 /package
parent0d96f5908597f25dcf2fbd1a72907e143243f35c (diff)
downloadupstream-1ef27048f7ab2bf6aa43f2416c1fd2632a29d992.tar.gz
upstream-1ef27048f7ab2bf6aa43f2416c1fd2632a29d992.tar.bz2
upstream-1ef27048f7ab2bf6aa43f2416c1fd2632a29d992.zip
[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')
-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