From owner-svn-src-head@FreeBSD.ORG Thu Oct 21 19:30:55 2010 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 D67D9106566C; Thu, 21 Oct 2010 19:30:55 +0000 (UTC) (envelope-from bschmidt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C61E38FC12; Thu, 21 Oct 2010 19:30:55 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o9LJUtOO001399; Thu, 21 Oct 2010 19:30:55 GMT (envelope-from bschmidt@svn.freebsd.org) Received: (from bschmidt@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o9LJUtim001397; Thu, 21 Oct 2010 19:30:55 GMT (envelope-from bschmidt@svn.freebsd.org) Message-Id: <201010211930.o9LJUtim001397@svn.freebsd.org> From: Bernhard Schmidt Date: Thu, 21 Oct 2010 19:30:55 +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: r214162 - head/sys/dev/iwi 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: Thu, 21 Oct 2010 19:30:55 -0000 Author: bschmidt Date: Thu Oct 21 19:30:55 2010 New Revision: 214162 URL: http://svn.freebsd.org/changeset/base/214162 Log: The firmware always sets bit 14 and 15, to get the real associd we need to clear those bits. MFC after: 1 week Modified: head/sys/dev/iwi/if_iwi.c Modified: head/sys/dev/iwi/if_iwi.c ============================================================================== --- head/sys/dev/iwi/if_iwi.c Thu Oct 21 19:29:20 2010 (r214161) +++ head/sys/dev/iwi/if_iwi.c Thu Oct 21 19:30:55 2010 (r214162) @@ -1368,7 +1368,7 @@ iwi_checkforqos(struct ieee80211vap *vap ni = vap->iv_bss; ni->ni_capinfo = capinfo; - ni->ni_associd = associd; + ni->ni_associd = associd & 0x3fff; if (wme != NULL) ni->ni_flags |= IEEE80211_NODE_QOS; else