diff options
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/if_atu.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/if_cdce.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/usb/if_atu.c b/sys/dev/usb/if_atu.c index c6c5c29f014..3b0c96cebd1 100644 --- a/sys/dev/usb/if_atu.c +++ b/sys/dev/usb/if_atu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_atu.c,v 1.67 2006/01/29 03:22:52 brad Exp $ */ +/* $OpenBSD: if_atu.c,v 1.68 2006/02/20 20:12:14 damien Exp $ */ /* * Copyright (c) 2003, 2004 * Daan Vreeken <Danovitsch@Vitsch.net>. All rights reserved. @@ -1843,7 +1843,9 @@ atu_tx_start(struct atu_softc *sc, struct ieee80211_node *ni, struct atu_tx_hdr *h; usbd_status err; u_int8_t pad; +#if NBPFILTER > 0 struct ieee80211com *ic = &sc->sc_ic; +#endif DPRINTFN(25, ("%s: atu_tx_start\n", USBDEVNAME(sc->atu_dev))); diff --git a/sys/dev/usb/if_cdce.c b/sys/dev/usb/if_cdce.c index e5f1b640461..2a101791580 100644 --- a/sys/dev/usb/if_cdce.c +++ b/sys/dev/usb/if_cdce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cdce.c,v 1.13 2006/01/29 03:22:52 brad Exp $ */ +/* $OpenBSD: if_cdce.c,v 1.14 2006/02/20 20:12:13 damien Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000-2003 Bill Paul <wpaul@windriver.com> @@ -55,8 +55,8 @@ #include <net/if.h> #include <net/if_dl.h> -#if NBPFILTER > 0 #include <net/bpf.h> +#if NBPFILTER > 0 #define BPF_MTAP(ifp, m) bpf_mtap((ifp)->if_bpf, (m)) #endif |