madwifi: fix encryption type check

SVN-Revision: 12421
lede-17.01
Felix Fietkau 2008-08-28 12:41:55 +00:00
parent a2e70fed22
commit 683789250d
1 changed files with 1 additions and 2 deletions

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