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

This commit is contained in:
adrian 2013-11-11 08:56:40 +00:00
parent bce2292869
commit e6130a175c

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