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/files/lib | |
parent | a2e70fed224487c34117aaa39cf8ee411099a840 (diff) | |
download | upstream-683789250d84820c1e4b2a0cba2e2f7880a1c9d8.tar.gz upstream-683789250d84820c1e4b2a0cba2e2f7880a1c9d8.tar.bz2 upstream-683789250d84820c1e4b2a0cba2e2f7880a1c9d8.zip |
madwifi: fix encryption type check
SVN-Revision: 12421
Diffstat (limited to 'package/madwifi/files/lib')
-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 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 |