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 | 253a263caa94b78feb2a5803b6cfe5d30272dcf3 (patch) | |
tree | d32ad2c811476a4207e49859320b6843fb1bc8f6 /package/madwifi/files/lib | |
parent | 54e6f062249285055a664e13c4babdaa850e4d41 (diff) | |
download | upstream-253a263caa94b78feb2a5803b6cfe5d30272dcf3.tar.gz upstream-253a263caa94b78feb2a5803b6cfe5d30272dcf3.tar.bz2 upstream-253a263caa94b78feb2a5803b6cfe5d30272dcf3.zip |
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-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 |