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

This commit is contained in:
Adrian Chadd 2013-11-11 08:56:40 +00:00
parent 6abfec88c3
commit 559abc28c0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257950

View File

@ -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) {