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

Adrian Chadd adrian at FreeBSD.org
Sun Oct 2 13:47:03 UTC 2011


Author: adrian
Date: Sun Oct  2 13:47:03 2011
New Revision: 225922
URL: http://svn.freebsd.org/changeset/base/225922

Log:
  For now (ie: until autosleep support is fully fleshed out), always clear
  all of the RX status fields when initialising a new RX descriptor.

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

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c	Sun Oct  2 13:43:06 2011	(r225921)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c	Sun Oct  2 13:47:03 2011	(r225922)
@@ -119,8 +119,7 @@ ar5416SetupRxDesc(struct ath_hal *ah, st
 	ads->ds_rxstatus8 &= ~AR_RxDone;
 
 	/* clear the rest of the status fields */
-	if (! pCap->halAutoSleepSupport)
-        	OS_MEMZERO(&(ads->u), sizeof(ads->u));
+	OS_MEMZERO(&(ads->u), sizeof(ads->u));
 
 	return AH_TRUE;
 }


More information about the svn-src-all mailing list