correct code returned in AsssocResp; the previous code is spec'd for use

only in deauth+disassoc frames

Submitted by:	Chris Zimmermann
MFC after:	1 month
This commit is contained in:
Sam Leffler 2008-06-07 17:43:41 +00:00
parent a65d88d15d
commit 13f91245d2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179640

View File

@ -2177,8 +2177,7 @@ ieee80211_node_join(struct ieee80211_node *ni, int resp)
break;
}
if (aid >= vap->iv_max_aid) {
IEEE80211_SEND_MGMT(ni, resp,
IEEE80211_REASON_ASSOC_TOOMANY);
IEEE80211_SEND_MGMT(ni, resp, IEEE80211_STATUS_TOOMANY);
ieee80211_node_leave(ni);
return;
}