diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-08-28 12:41:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-08-28 12:41:55 +0000 |
commit | 683789250d84820c1e4b2a0cba2e2f7880a1c9d8 (patch) | |
tree | bc646e6e4b22ef53b756891aba79188e869937dd /package/madwifi | |
parent | a2e70fed224487c34117aaa39cf8ee411099a840 (diff) | |
download | mtk-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')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 3 |
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 |