svn commit: r360373 - head/sys/dev/iwm

Mark Johnston markj at FreeBSD.org
Mon Apr 27 13:26:43 UTC 2020


Author: markj
Date: Mon Apr 27 13:26:43 2020
New Revision: 360373
URL: https://svnweb.freebsd.org/changeset/base/360373

Log:
  iwm: Print the command code for any unhandled commands.
  
  Reported by:	Marc Veldman <marc at bumblingdork.com>
  MFC after:	1 week

Modified:
  head/sys/dev/iwm/if_iwm.c

Modified: head/sys/dev/iwm/if_iwm.c
==============================================================================
--- head/sys/dev/iwm/if_iwm.c	Mon Apr 27 10:00:46 2020	(r360372)
+++ head/sys/dev/iwm/if_iwm.c	Mon Apr 27 13:26:43 2020	(r360373)
@@ -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;
 		}
 


More information about the svn-src-head mailing list