Date: Fri, 5 Jun 2009 23:21:29 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r193543 - head/sys/net80211 Message-ID: <200906052321.n55NLTct041129@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sam Date: Fri Jun 5 23:21:29 2009 New Revision: 193543 URL: http://svn.freebsd.org/changeset/base/193543 Log: correct status code returned for ht capability mismatch on assoc/reassoc Modified: head/sys/net80211/ieee80211_hostap.c Modified: head/sys/net80211/ieee80211_hostap.c ============================================================================== --- head/sys/net80211/ieee80211_hostap.c Fri Jun 5 23:20:41 2009 (r193542) +++ head/sys/net80211/ieee80211_hostap.c Fri Jun 5 23:21:29 2009 (r193543) @@ -1628,7 +1628,7 @@ htcapmismatch(struct ieee80211_node *ni, 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906052321.n55NLTct041129>