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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to