From 559abc28c03c64368c69e3ee6cf86e5647a1800b Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Mon, 11 Nov 2013 08:56:40 +0000 Subject: [PATCH] Replace the hard-coded RX queue value check with IWN_UNSOLICITED_RX_NOTIF. --- sys/dev/iwn/if_iwn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c index 5f0699d7e097..d2f26776d227 100644 --- a/sys/dev/iwn/if_iwn.c +++ b/sys/dev/iwn/if_iwn.c @@ -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) {