madwifi: fix encryption type check

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12421 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2008-08-28 12:41:55 +00:00
parent 54e6f06224
commit 253a263caa
1 changed files with 1 additions and 2 deletions

View File

@ -151,9 +151,8 @@ enable_atheros() {
*) iwconfig "$ifname" enc "$key";; *) iwconfig "$ifname" enc "$key";;
esac esac
;; ;;
PSK|psk|PSK2|psk2) psk*|wpa*)
start_hostapd=1 start_hostapd=1
config_get key "$vif" key
;; ;;
esac esac