add paren's so we can supply a|b as a debug mask
This commit is contained in:
parent
0b19ce1eb7
commit
0a1b94c44c
@ -219,10 +219,10 @@ enum {
|
||||
ATH_DEBUG_ANY = 0xffffffff
|
||||
};
|
||||
#define IFF_DUMPPKTS(sc, m) \
|
||||
((sc->sc_debug & m) || \
|
||||
((sc->sc_debug & (m)) || \
|
||||
(sc->sc_if.if_flags & (IFF_DEBUG|IFF_LINK2)) == (IFF_DEBUG|IFF_LINK2))
|
||||
#define DPRINTF(sc, m, fmt, ...) do { \
|
||||
if (sc->sc_debug & m) \
|
||||
if (sc->sc_debug & (m)) \
|
||||
printf(fmt, __VA_ARGS__); \
|
||||
} while (0)
|
||||
#define KEYPRINTF(sc, ix, hk, mac) do { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user