aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
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
commitc0bda9a6a92982018fd00e2f48b721a421255f1a (patch)
treeb0918646e4d0c7a0d053b7c06bfa55fd54eb309a /package/madwifi
parent1b495361a06a5bb3428971b5823ffcd35c367108 (diff)
downloadupstream-c0bda9a6a92982018fd00e2f48b721a421255f1a.tar.gz
upstream-c0bda9a6a92982018fd00e2f48b721a421255f1a.tar.bz2
upstream-c0bda9a6a92982018fd00e2f48b721a421255f1a.zip
madwifi: make wep-open the default
SVN-Revision: 23660
Diffstat (limited to 'package/madwifi')
-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}"