From owner-svn-src-head@FreeBSD.ORG Fri Jun 5 23:21:29 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 806691065670; Fri, 5 Jun 2009 23:21:29 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6F4298FC13; Fri, 5 Jun 2009 23:21:29 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n55NLTSh041130; Fri, 5 Jun 2009 23:21:29 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n55NLTct041129; Fri, 5 Jun 2009 23:21:29 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200906052321.n55NLTct041129@svn.freebsd.org> From: Sam Leffler Date: Fri, 5 Jun 2009 23:21:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193543 - head/sys/net80211 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 23:21:30 -0000 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); }