From 7e2cf9b6e3a409334ecd790bfc3da149fb5327be Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 18 Jan 2007 14:43:21 +0000 Subject: Fix wep encryption setting with madwifi (#1173) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6125 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/files/lib/wifi/madwifi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/madwifi') 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 -- cgit v1.2.3