Date: Sun, 2 Oct 2011 13:47:03 +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: r225922 - head/sys/dev/ath/ath_hal/ar5416 Message-ID: <201110021347.p92Dl3KI065990@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110021347.p92Dl3KI065990>