From b8ee2a22a939521acc83563562e33886b6cbfee8 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Fri, 5 Jun 2009 23:21:29 +0000 Subject: [PATCH] correct status code returned for ht capability mismatch on assoc/reassoc --- sys/net80211/ieee80211_hostap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_hostap.c b/sys/net80211/ieee80211_hostap.c index 625ee98cce03..10d7fc437ffb 100644 --- a/sys/net80211/ieee80211_hostap.c +++ b/sys/net80211/ieee80211_hostap.c @@ -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); }