diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-08-07 11:43:14 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-08-07 11:43:14 +0000 |
| commit | 79d2c5e8574c155e3e247a52eddeda3521c7d46b (patch) | |
| tree | 6454e7be9c51af111875a842eec79f4a2ddb1d23 /sys/dev/ath/if_ath_debug.h | |
| parent | 84fe889c6328a22456ff8138019b536242fc3328 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ath/if_ath_debug.h')
| -rw-r--r-- | sys/dev/ath/if_ath_debug.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/ath/if_ath_debug.h b/sys/dev/ath/if_ath_debug.h index 40c0b9a5ac74..05d3cf5b12ed 100644 --- a/sys/dev/ath/if_ath_debug.h +++ b/sys/dev/ath/if_ath_debug.h @@ -91,9 +91,7 @@ enum { extern uint64_t ath_debug; -#define IFF_DUMPPKTS(sc, m) \ - ((sc->sc_debug & (m)) || \ - (sc->sc_ifp->if_flags & (IFF_DEBUG|IFF_LINK2)) == (IFF_DEBUG|IFF_LINK2)) +#define IFF_DUMPPKTS(sc, m) ((sc->sc_debug & (m)) #define DPRINTF(sc, m, fmt, ...) do { \ if (sc->sc_debug & (m)) \ device_printf(sc->sc_dev, fmt, __VA_ARGS__); \ @@ -112,8 +110,7 @@ extern void ath_printtxstatbuf(struct ath_softc *sc, const struct ath_buf *bf, #else /* ATH_DEBUG */ #define ATH_KTR(_sc, _km, _kf, ...) do { } while (0) -#define IFF_DUMPPKTS(sc, m) \ - ((sc->sc_ifp->if_flags & (IFF_DEBUG|IFF_LINK2)) == (IFF_DEBUG|IFF_LINK2)) +#define IFF_DUMPPKTS(sc, m) (0) #define DPRINTF(sc, m, fmt, ...) do { \ (void) sc; \ } while (0) |
