summaryrefslogtreecommitdiff
path: root/package/madwifi
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
parent6b2a7b73ca8ba542fd2cbd21c615933b99e293ba (diff)
downloadmtk-20170518-121368fbc83a3d18679f39e68f4449b35493bf2e.zip
mtk-20170518-121368fbc83a3d18679f39e68f4449b35493bf2e.tar.gz
mtk-20170518-121368fbc83a3d18679f39e68f4449b35493bf2e.tar.bz2
madwifi: clear variables used in for loop
SVN-Revision: 16308
Diffstat (limited to 'package/madwifi')
-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 f9a06b7..7056611 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