diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-18 14:43:21 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-01-18 14:43:21 +0000 |
commit | eee5389d40483ecd16903905879e9945e0bc8c3c (patch) | |
tree | 197881081ccab80eb01d2066ee332f4bac612603 /package | |
parent | 4c0cc0fb0bf71d2b93bb10539336181fb68f707a (diff) |
Fix wep encryption setting with madwifi (#1173)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6125 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 2 |
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 68fa3258e..4ba6cd102 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 |