Use the correct length parameter when capturing rx packets.
This commit is contained in:
parent
d9f67be7fe
commit
180eb637a5
@ -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 @@ iwi_frame_intr(struct iwi_softc *sc, struct iwi_rx_data *data, int i,
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user