madwifi: clear variables used in for loop

SVN-Revision: 16308
lede-17.01
Vasilis Tsiligiannis 2009-06-03 13:53:10 +00:00
parent 6b2a7b73ca
commit 121368fbc8
1 changed files with 1 additions and 2 deletions

View File

@ -128,8 +128,7 @@ enable_atheros() {
local first=1 local first=1
for vif in $vifs; do for vif in $vifs; do
local start_hostapd vif_txpower local start_hostapd= vif_txpower= nosbeacon=
nosbeacon=
config_get ifname "$vif" ifname config_get ifname "$vif" ifname
config_get enc "$vif" encryption config_get enc "$vif" encryption
config_get eap_type "$vif" eap_type config_get eap_type "$vif" eap_type