aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2009-06-03 13:53:10 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2009-06-03 13:53:10 +0000
commit121368fbc83a3d18679f39e68f4449b35493bf2e (patch)
tree7d77fb0dbd4099adf7da7b0da1e4608766114d7d /package/madwifi/files/lib
parent6b2a7b73ca8ba542fd2cbd21c615933b99e293ba (diff)
downloadupstream-121368fbc83a3d18679f39e68f4449b35493bf2e.tar.gz
upstream-121368fbc83a3d18679f39e68f4449b35493bf2e.tar.bz2
upstream-121368fbc83a3d18679f39e68f4449b35493bf2e.zip
madwifi: clear variables used in for loop
SVN-Revision: 16308
Diffstat (limited to 'package/madwifi/files/lib')
-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