madwifi: fix encryption type check

SVN-Revision: 12421
This commit is contained in:
Felix Fietkau 2008-08-28 12:41:55 +00:00
parent a2e70fed22
commit 683789250d

View File

@ -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