summaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/files/lib')
-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 4d390dd1d..d07011422 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}"