aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit138f93e130440f32348608883ca18d812545983e (patch)
tree56a3e8e5cf012efa736ce1f740767c6d22edb58e /package
parent73e982ce0cf3d1e0ef060238797149813a89ea12 (diff)
downloadupstream-138f93e130440f32348608883ca18d812545983e.tar.gz
upstream-138f93e130440f32348608883ca18d812545983e.tar.bz2
upstream-138f93e130440f32348608883ca18d812545983e.zip
Fix wep encryption setting with madwifi (#1173)
SVN-Revision: 6125
Diffstat (limited to 'package')
-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