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) {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to