[backfire] merge r23660
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 27 Oct 2010 11:46:51 +0000 (11:46 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 27 Oct 2010 11:46:51 +0000 (11:46 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23661 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 4d390dd1da2e7cc5aadd975ed3f3180d4b703301..d0701142210277ee8fde3d417ea684db13222684 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}"