svn commit: r214162 - head/sys/dev/iwi

Bernhard Schmidt bschmidt at FreeBSD.org
Thu Oct 21 19:30:55 UTC 2010


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


More information about the svn-src-head mailing list