aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-01-18 14:43:21 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-01-18 14:43:21 +0000
commit7e2cf9b6e3a409334ecd790bfc3da149fb5327be (patch)
tree197881081ccab80eb01d2066ee332f4bac612603 /package/madwifi
parentd64e90a6f8bbb960f832ebc42e7791a8a8ae3900 (diff)
downloadupstream-7e2cf9b6e3a409334ecd790bfc3da149fb5327be.tar.gz
upstream-7e2cf9b6e3a409334ecd790bfc3da149fb5327be.tar.bz2
upstream-7e2cf9b6e3a409334ecd790bfc3da149fb5327be.zip
Fix wep encryption setting with madwifi (#1173)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6125 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 68fa3258e7..4ba6cd102f 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -122,7 +122,7 @@ enable_atheros() {
iwconfig "$ifname" enc "[$idx]" "${key:-off}"
done
config_get key "$vif" key
- iwconfig "$ifname" enc "[${key:-1}]"
+ iwconfig "$ifname" enc "${key:-1}"
;;
esac