1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00

correct status code returned for ht capability mismatch on assoc/reassoc

This commit is contained in:
Sam Leffler 2009-06-05 23:21:29 +00:00
parent 1dadcead9d
commit b8ee2a22a9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193543

View File

@ -1628,7 +1628,7 @@ htcapmismatch(struct ieee80211_node *ni, const struct ieee80211_frame *wh,
IEEE80211_NOTE_MAC(ni->ni_vap, IEEE80211_MSG_ANY, wh->i_addr2,
"deny %s request, %s missing HT ie", reassoc ? "reassoc" : "assoc");
/* XXX no better code */
IEEE80211_SEND_MGMT(ni, resp, IEEE80211_STATUS_OTHER);
IEEE80211_SEND_MGMT(ni, resp, IEEE80211_STATUS_MISSING_HT_CAPS);
ieee80211_node_leave(ni);
}