From 138f93e130440f32348608883ca18d812545983e 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) SVN-Revision: 6125 --- package/madwifi/files/lib/wifi/madwifi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/madwifi/files/lib/wifi') diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 68fa325..4ba6cd1 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.1