madwifi: make wep-open the default
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 27 Oct 2010 11:46:01 +0000 (11:46 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 27 Oct 2010 11:46:01 +0000 (11:46 +0000)
SVN-Revision: 23660

package/madwifi/files/lib/wifi/madwifi.sh

index 4d390dd..d070114 100755 (executable)
@@ -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}"