Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Complete prior patch: dump packets in wi_rx_intr, ...



details:   https://anonhg.NetBSD.org/src/rev/abe513f2fefe
branches:  trunk
changeset: 547098:abe513f2fefe
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Tue May 13 06:51:10 2003 +0000

description:
Complete prior patch: dump packets in wi_rx_intr, too.

diffstat:

 sys/dev/ic/wi.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 58d829acef27 -r abe513f2fefe sys/dev/ic/wi.c
--- a/sys/dev/ic/wi.c   Tue May 13 06:48:56 2003 +0000
+++ b/sys/dev/ic/wi.c   Tue May 13 06:51:10 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wi.c,v 1.119 2003/05/13 06:48:56 dyoung Exp $  */
+/*     $NetBSD: wi.c,v 1.120 2003/05/13 06:51:10 dyoung Exp $  */
 
 /*
  * Copyright (c) 1997, 1998, 1999
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.119 2003/05/13 06:48:56 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.120 2003/05/13 06:51:10 dyoung Exp $");
 
 #define WI_HERMES_AUTOINC_WAR  /* Work around data write autoinc bug. */
 #define WI_HERMES_STATS_WAR    /* Work around stats counter bug. */
@@ -1204,6 +1204,9 @@
                return;
        }
 
+       if (IFF_DUMPPKTS(ifp))
+               wi_dump_pkt(&frmhdr, NULL, frmhdr.wi_rx_signal);
+
        /*
         * Drop undecryptable or packets with receive errors here
         */



Home | Main Index | Thread Index | Old Index