Use iv_appie_wpa, with this commit WPA works again.

Approved by:	rpaulo (mentor)
This commit is contained in:
Bernhard Schmidt 2010-04-17 18:17:25 +00:00
parent 557c25b48f
commit 6e4c30c9cd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206766

View File

@ -2266,8 +2266,8 @@ ipw_assoc(struct ieee80211com *ic, struct ieee80211vap *vap)
if (error != 0)
goto done;
if (vap->iv_appie_assocreq != NULL) {
struct ieee80211_appie *ie = vap->iv_appie_assocreq;
if (vap->iv_appie_wpa != NULL) {
struct ieee80211_appie *ie = vap->iv_appie_wpa;
error = ipw_setwpaie(sc, ie->ie_data, ie->ie_len);
if (error != 0)
goto done;