From 138f93e130440f32348608883ca18d812545983e Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 18 Jan 2007 14:43:21 +0000 Subject: [PATCH] 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(-) 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 -- 2.25.1