allow sta mode to work with psk+aes (#4687)

SVN-Revision: 15983
This commit is contained in:
Florian Fainelli 2009-05-22 10:30:55 +00:00
parent b71910dbb5
commit fa4d544363
2 changed files with 2 additions and 1 deletions

View file

@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=broadcom-wl PKG_NAME:=broadcom-wl
PKG_VERSION:=4.150.10.5.3 PKG_VERSION:=4.150.10.5.3
PKG_RELEASE:=2 PKG_RELEASE:=3
WLC_VERSION:=0.1 WLC_VERSION:=0.1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2

View file

@ -199,6 +199,7 @@ enable_broadcom() {
case "$enc" in case "$enc" in
wpa*+wpa2*|WPA*+WPA2*|*psk+*psk2|*PSK+*PSK2) auth=132; wsec=6;; wpa*+wpa2*|WPA*+WPA2*|*psk+*psk2|*PSK+*PSK2) auth=132; wsec=6;;
wpa2*|WPA2*|*PSK2|*psk2) auth=128; wsec=4;; wpa2*|WPA2*|*PSK2|*psk2) auth=128; wsec=4;;
*aes|*AES) auth=4; wsec=4;;
*) auth=4; wsec=2;; *) auth=4; wsec=2;;
esac esac
eval "${vif}_key=\"\$key\"" eval "${vif}_key=\"\$key\""