Skip to content

Commit

Permalink
iwm: Print the command code for any unhandled commands.
Browse files Browse the repository at this point in the history
Reported by:	Marc Veldman <marc@bumblingdork.com>
MFC after:	1 week
  • Loading branch information
markjdb committed Apr 27, 2020
1 parent cade083 commit 6844522
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sys/dev/iwm/if_iwm.c
Expand Up @@ -5623,9 +5623,8 @@ iwm_handle_rxb(struct iwm_softc *sc, struct mbuf *m)

default:
device_printf(sc->sc_dev,
"frame %d/%d %x UNHANDLED (this should "
"not happen)\n", qid & ~0x80, idx,
pkt->len_n_flags);
"code %x, frame %d/%d %x unhandled\n",
code, qid & ~0x80, idx, pkt->len_n_flags);
break;
}

Expand Down

0 comments on commit 6844522

Please sign in to comment.