Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Use the correct length parameter when capturing ...



details:   https://anonhg.NetBSD.org/src/rev/b2eb4bb69f5c
branches:  trunk
changeset: 584306:b2eb4bb69f5c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Sep 12 21:11:11 2005 +0000

description:
Use the correct length parameter when capturing rx packets.

diffstat:

 sys/dev/pci/if_iwi.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d0ef2bfc93b7 -r b2eb4bb69f5c sys/dev/pci/if_iwi.c
--- a/sys/dev/pci/if_iwi.c      Mon Sep 12 20:54:38 2005 +0000
+++ b/sys/dev/pci/if_iwi.c      Mon Sep 12 21:11:11 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iwi.c,v 1.20 2005/09/04 06:58:20 skrll Exp $  */
+/*     $NetBSD: if_iwi.c,v 1.21 2005/09/12 21:11:11 skrll Exp $  */
 
 /*-
  * Copyright (c) 2004, 2005
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iwi.c,v 1.20 2005/09/04 06:58:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwi.c,v 1.21 2005/09/12 21:11:11 skrll Exp $");
 
 /*-
  * Intel(R) PRO/Wireless 2200BG/2225BG/2915ABG driver
@@ -1046,7 +1046,7 @@
                tap->wr_antsignal = frame->signal;
                tap->wr_antenna = frame->antenna;
 
-               bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_txtap_len, m);
+               bpf_mtap2(sc->sc_drvbpf, tap, sc->sc_rxtap_len, m);
        }
 #endif
 



Home | Main Index | Thread Index | Old Index