summaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-28 12:41:55 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-28 12:41:55 +0000
commitef5d60de3b2c9a8e2b23145a70d24fc91c790c2d (patch)
treed32ad2c811476a4207e49859320b6843fb1bc8f6 /package/madwifi/files/lib
parenta9a07e375b798688dfe9d693577106a0c32b30c8 (diff)
madwifi: fix encryption type check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12421 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 0b2488690..001ea0933 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -151,9 +151,8 @@ enable_atheros() {
*) iwconfig "$ifname" enc "$key";;
esac
;;
- PSK|psk|PSK2|psk2)
+ psk*|wpa*)
start_hostapd=1
- config_get key "$vif" key
;;
esac