Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 08:56:41 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257950 - head/sys/dev/iwn
Message-ID:  <201311110856.rAB8uflN065310@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Nov 11 08:56:40 2013
New Revision: 257950
URL: http://svnweb.freebsd.org/changeset/base/257950

Log:
  Replace the hard-coded RX queue value check with IWN_UNSOLICITED_RX_NOTIF.

Modified:
  head/sys/dev/iwn/if_iwn.c

Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c	Mon Nov 11 08:55:38 2013	(r257949)
+++ head/sys/dev/iwn/if_iwn.c	Mon Nov 11 08:56:40 2013	(r257950)
@@ -3104,7 +3104,7 @@ iwn_notif_intr(struct iwn_softc *sc)
 		    desc->type, iwn_intr_str(desc->type),
 		    le16toh(desc->len));
 
-		if (!(desc->qid & 0x80))	/* Reply to a command. */
+		if (!(desc->qid & IWN_UNSOLICITED_RX_NOTIF))	/* Reply to a command. */
 			iwn_cmd_done(sc, desc);
 
 		switch (desc->type) {



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