Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2010 19:30:55 +0000 (UTC)
From:      Bernhard Schmidt <bschmidt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r214162 - head/sys/dev/iwi
Message-ID:  <201010211930.o9LJUtim001397@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010211930.o9LJUtim001397>