From cb08e76d13e284498b1b4263451b8b59e58c2dfe Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 27 Oct 2010 11:26:55 +0000 Subject: [PATCH] merge r23657 SVN-Revision: 23658 --- package/madwifi/files/lib/wifi/madwifi.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 2b2e699d08..4d390dd1da 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -215,7 +215,11 @@ enable_atheros() { } case "$enc" in - WEP|wep) + wep*) + case "$enc" in + *open*) iwpriv "$ifname" authmode 1;; + *) iwpriv "$ifname" authmode 2;; + ;; for idx in 1 2 3 4; do config_get key "$vif" "key${idx}" iwconfig "$ifname" enc "[$idx]" "${key:-off}" -- 2.30.2