diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-01 14:44:44 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-01 14:44:44 +0000 |
commit | 0af00df4ff6bb6468dda02c4697fe38f150b2aea (patch) | |
tree | e91001579ce2cef2fc594c093958643ddcc0c053 /package/broadcom-wl | |
parent | c361ae08ca064a3d6bd8f026be8c0c1971512c7b (diff) | |
download | upstream-0af00df4ff6bb6468dda02c4697fe38f150b2aea.tar.gz upstream-0af00df4ff6bb6468dda02c4697fe38f150b2aea.tar.bz2 upstream-0af00df4ff6bb6468dda02c4697fe38f150b2aea.zip |
fix typo in broadcom wifi script: s/crypto/wsec/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5686 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl')
-rw-r--r-- | package/broadcom-wl/files/lib/wifi/broadcom.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh index 79c168079f..89728c3cf9 100644 --- a/package/broadcom-wl/files/lib/wifi/broadcom.sh +++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh @@ -153,7 +153,7 @@ enable_broadcom() { config_get key "$vif" key case "$enc" in wpa2*|WPA2*|PSK2*|psk2*) auth=128; wsec=4;; - *) auth=4; crypto=2;; + *) auth=4; wsec=2;; esac eval "${vif}_key=\"\$key\"" nasopts="-k \"\$${vif}_key\"" @@ -166,7 +166,7 @@ enable_broadcom() { config_get port "$vif" port case "$enc" in wpa2*|WPA2*) auth=64; wsec=4;; - *) auth=2; crypto=2;; + *) auth=2; wsec=2;; esac eval "${vif}_key=\"\$key\"" nasopts="-r \"\$${vif}_key\" -h $server -p $port" @@ -198,7 +198,7 @@ enable_broadcom() { eval "${vif}_ssid=\"\$ssid\"" mode="-A" [ "$vif" = "$sta_if" ] && mode="-S" - [ -z "$nas" ] || nas_cmd="${nas_cmd:+$nas_cmd$N}$nas -P /var/run/nas.$ifname.pid -H 34954 ${bridge:+ -l $bridge} -i $ifname $mode -m $auth -w $crypto -s \"\$${vif}_ssid\" -g 3600 $nasopts &" + [ -z "$nas" ] || nas_cmd="${nas_cmd:+$nas_cmd$N}$nas -P /var/run/nas.$ifname.pid -H 34954 ${bridge:+ -l $bridge} -i $ifname $mode -m $auth -w $wsec -s \"\$${vif}_ssid\" -g 3600 $nasopts &" } _c=$(($_c + 1)) done |