aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-27 11:46:01 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-27 11:46:01 +0000
commit48d7004f2614c220d93d0d4e328be82dd8fe3cff (patch)
treecf075c2d7416d6224ad6c4fb0e5b9852987fa058
parent085ff1f9d4d2224c414cc78c84d596340c408601 (diff)
downloadupstream-48d7004f2614c220d93d0d4e328be82dd8fe3cff.tar.gz
upstream-48d7004f2614c220d93d0d4e328be82dd8fe3cff.tar.bz2
upstream-48d7004f2614c220d93d0d4e328be82dd8fe3cff.zip
[package] madwifi: make wep-open the default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23660 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 4d390dd1da..d070114221 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -217,8 +217,8 @@ enable_atheros() {
case "$enc" in
wep*)
case "$enc" in
- *open*) iwpriv "$ifname" authmode 1;;
- *) iwpriv "$ifname" authmode 2;;
+ *shared*) iwpriv "$ifname" authmode 2;;
+ *) iwpriv "$ifname" authmode 1;;
;;
for idx in 1 2 3 4; do
config_get key "$vif" "key${idx}"