Replace the hard-coded RX queue value check with IWN_UNSOLICITED_RX_NOTIF.
This commit is contained in:
parent
6abfec88c3
commit
559abc28c0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257950
@ -3104,7 +3104,7 @@ iwn_notif_intr(struct iwn_softc *sc)
|
|||||||
desc->type, iwn_intr_str(desc->type),
|
desc->type, iwn_intr_str(desc->type),
|
||||||
le16toh(desc->len));
|
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);
|
iwn_cmd_done(sc, desc);
|
||||||
|
|
||||||
switch (desc->type) {
|
switch (desc->type) {
|
||||||
|
Loading…
Reference in New Issue
Block a user