From: Florian Fainelli Date: Thu, 18 Jan 2007 14:43:21 +0000 (+0000) Subject: Fix wep encryption setting with madwifi (#1173) X-Git-Tag: reboot~30059 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=138f93e130440f32348608883ca18d812545983e;p=oweals%2Fopenwrt.git Fix wep encryption setting with madwifi (#1173) SVN-Revision: 6125 --- 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