From 97ae61108d5e5e6b5f0d53e2694c8ff8cafcd976 Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 27 Oct 2010 11:46:01 +0000 Subject: [package] madwifi: make wep-open the default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23660 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/files/lib/wifi/madwifi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 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}" -- cgit v1.2.3