svn commit: r221582 - head/sys/dev/ath/ath_hal/ar5416

Adrian Chadd adrian at FreeBSD.org
Sat May 7 06:52:05 UTC 2011


Author: adrian
Date: Sat May  7 06:52:04 2011
New Revision: 221582
URL: http://svn.freebsd.org/changeset/base/221582

Log:
  Instead of returning an unknown mac/bb signature, just return 0.

Modified:
  head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c	Sat May  7 06:47:09 2011	(r221581)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c	Sat May  7 06:52:04 2011	(r221582)
@@ -471,7 +471,7 @@ ar5416DetectMacHang(struct ath_hal *ah)
 	    __func__, mac_dbg.dma_dbg_3, mac_dbg.dma_dbg_4, mac_dbg.dma_dbg_5,
 	    mac_dbg.dma_dbg_6);
 
-	return HAL_MAC_HANG_UNKNOWN;
+	return 0;
 }
 
 /*
@@ -524,7 +524,7 @@ ar5416DetectBBHang(struct ath_hal *ah)
 	HALDEBUG(ah, HAL_DEBUG_HANG, "%s Found an unknown BB hang signature! "
 	    "<0x806c>=0x%x\n", __func__, hang_sig);
 
-	return HAL_BB_HANG_UNKNOWN;
+	return 0;
 #undef N
 }
 #undef NUM_STATUS_READS


More information about the svn-src-head mailing list