aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-28 12:41:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-28 12:41:55 +0000
commit683789250d84820c1e4b2a0cba2e2f7880a1c9d8 (patch)
treebc646e6e4b22ef53b756891aba79188e869937dd /package/madwifi/files
parenta2e70fed224487c34117aaa39cf8ee411099a840 (diff)
downloadupstream-683789250d84820c1e4b2a0cba2e2f7880a1c9d8.tar.gz
upstream-683789250d84820c1e4b2a0cba2e2f7880a1c9d8.tar.bz2
upstream-683789250d84820c1e4b2a0cba2e2f7880a1c9d8.zip
madwifi: fix encryption type check
SVN-Revision: 12421
Diffstat (limited to 'package/madwifi/files')
-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 0b24886903..001ea0933d 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