Extend the ath debugging a little to log the interface name.
Some devices have >1 atheros card and the current debug prints make it impossible to tell which interface is being unhappy.
This commit is contained in:
parent
a5f9fc17c2
commit
d273f00076
@ -324,7 +324,7 @@ TUNABLE_INT("hw.ath.debug", &ath_debug);
|
||||
(sc->sc_ifp->if_flags & (IFF_DEBUG|IFF_LINK2)) == (IFF_DEBUG|IFF_LINK2))
|
||||
#define DPRINTF(sc, m, fmt, ...) do { \
|
||||
if (sc->sc_debug & (m)) \
|
||||
printf(fmt, __VA_ARGS__); \
|
||||
device_printf(sc->sc_dev, fmt, __VA_ARGS__); \
|
||||
} while (0)
|
||||
#define KEYPRINTF(sc, ix, hk, mac) do { \
|
||||
if (sc->sc_debug & ATH_DEBUG_KEYCACHE) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user