projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f52800
)
wpa_supplicant: fix two syntax errors in wpa_supplicant.sh (#6504)
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 14 Jan 2010 18:48:42 +0000
(18:48 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 14 Jan 2010 18:48:42 +0000
(18:48 +0000)
SVN-Revision: 19128
package/wpa_supplicant/files/wpa_supplicant.sh
patch
|
blob
|
history
diff --git
a/package/wpa_supplicant/files/wpa_supplicant.sh
b/package/wpa_supplicant/files/wpa_supplicant.sh
index 40e8ff55b25eabe5dab80d1780476ca7e5636f7c..ea10b386e1acb29949187f14af5de65c5df2f98e 100644
(file)
--- a/
package/wpa_supplicant/files/wpa_supplicant.sh
+++ b/
package/wpa_supplicant/files/wpa_supplicant.sh
@@
-22,7
+22,7
@@
wpa_supplicant_setup_vif() {
local zidx
zidx=$(($idx - 1))
config_get ckey "$vif" "key${idx}"
-
if
[ -n "$ckey" ] && \
+ [ -n "$ckey" ] && \
append "wep_key${zidx}" "wep_key${zidx}=$(prepare_key_wep "$ckey")"
done
wep_tx_keyidx="wep_tx_keyidx=$((key - 1))"
@@
-111,6
+111,6
@@
network={
$wep_tx_keyidx
}
EOF
- [ -z "$proto" -a "$key_mgmt" != "NONE" ] ||
+ [ -z "$proto" -a "$key_mgmt" != "NONE" ] ||
\
wpa_supplicant ${bridge:+ -b $bridge} -B -P "/var/run/wifi-${ifname}.pid" -D ${driver:-wext} -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf
}