Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jul 2011 23:30:30 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r224045 - head/sys/dev/ath
Message-ID:  <201107142330.p6ENUUCs050818@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Thu Jul 14 23:30:30 2011
New Revision: 224045
URL: http://svn.freebsd.org/changeset/base/224045

Log:
  Add a missing check for the global ath_hal_debug.
  
  This was removed accidentally when the per HAL instance
  code was added, and not reverted when I added back the
  global debug variable (for early chip setup debugging.)

Modified:
  head/sys/dev/ath/ah_osdep.c

Modified: head/sys/dev/ath/ah_osdep.c
==============================================================================
--- head/sys/dev/ath/ah_osdep.c	Thu Jul 14 21:06:22 2011	(r224044)
+++ head/sys/dev/ath/ah_osdep.c	Thu Jul 14 23:30:30 2011	(r224045)
@@ -127,7 +127,9 @@ ath_hal_ether_sprintf(const u_int8_t *ma
 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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107142330.p6ENUUCs050818>