firmware-utils/mktplinkfw: add support for the TL-MR3220 v1
[openwrt.git] / package / madwifi / files / lib / wifi / madwifi.sh
index 4d390dd..9e0e70b 100755 (executable)
@@ -217,9 +217,9 @@ enable_atheros() {
                case "$enc" in
                        wep*)
                                case "$enc" in
                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;;
+                               esac
                                for idx in 1 2 3 4; do
                                        config_get key "$vif" "key${idx}"
                                        iwconfig "$ifname" enc "[$idx]" "${key:-off}"
                                for idx in 1 2 3 4; do
                                        config_get key "$vif" "key${idx}"
                                        iwconfig "$ifname" enc "[$idx]" "${key:-off}"
This page took 0.020515 seconds and 4 git commands to generate.