diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-14 18:48:42 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-14 18:48:42 +0000 |
commit | eea8df93ec3b54fae1e9582bf96f6a14cb773775 (patch) | |
tree | d5832d9b81c28c7bda3ee673127fd10b368f5521 /package | |
parent | 5cc23dc78f5956ef12d4f49d6655e34b02614572 (diff) |
[package] wpa_supplicant: fix two syntax errors in wpa_supplicant.sh (#6504)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19128 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/wpa_supplicant/files/wpa_supplicant.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/wpa_supplicant/files/wpa_supplicant.sh b/package/wpa_supplicant/files/wpa_supplicant.sh index 40e8ff55b..ea10b386e 100644 --- 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 } |