summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ah_osdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath/ah_osdep.c')
-rw-r--r--sys/dev/ath/ah_osdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ath/ah_osdep.c b/sys/dev/ath/ah_osdep.c
index cfcfc4a..cceb9a4 100644
--- a/sys/dev/ath/ah_osdep.c
+++ b/sys/dev/ath/ah_osdep.c
@@ -127,7 +127,9 @@ ath_hal_ether_sprintf(const u_int8_t *mac)
void
DO_HALDEBUG(struct ath_hal *ah, u_int mask, const char* fmt, ...)
{
- if ((mask == HAL_DEBUG_UNMASKABLE) || (ah->ah_config.ah_debug & mask)) {
+ if ((mask == HAL_DEBUG_UNMASKABLE) ||
+ (ah->ah_config.ah_debug & mask) ||
+ (ath_hal_debug & mask)) {
__va_list ap;
va_start(ap, fmt);
ath_hal_vprintf(ah, fmt, ap);
OpenPOWER on IntegriCloud