summaryrefslogtreecommitdiff
path: root/package/madwifi/files/lib/wifi/madwifi.sh
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/lib/wifi/madwifi.sh
parenta2e70fed224487c34117aaa39cf8ee411099a840 (diff)
downloadmtk-20170518-683789250d84820c1e4b2a0cba2e2f7880a1c9d8.zip
mtk-20170518-683789250d84820c1e4b2a0cba2e2f7880a1c9d8.tar.gz
mtk-20170518-683789250d84820c1e4b2a0cba2e2f7880a1c9d8.tar.bz2
madwifi: fix encryption type check
SVN-Revision: 12421
Diffstat (limited to 'package/madwifi/files/lib/wifi/madwifi.sh')
-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 0b248869..001ea09 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