svn commit: r236038 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Sat May 26 01:35:12 UTC 2012
Author: adrian
Date: Sat May 26 01:35:11 2012
New Revision: 236038
URL: http://svn.freebsd.org/changeset/base/236038
Log:
Avoid using hard-coded numbers here.
Modified:
head/sys/dev/ath/if_ath_tx.c
Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c Sat May 26 01:35:09 2012 (r236037)
+++ head/sys/dev/ath/if_ath_tx.c Sat May 26 01:35:11 2012 (r236038)
@@ -3580,7 +3580,7 @@ ath_tx_aggr_comp_aggr(struct ath_softc *
int nframes = 0, nbad = 0, nf;
int pktlen;
/* XXX there's too much on the stack? */
- struct ath_rc_series rc[4];
+ struct ath_rc_series rc[ATH_RC_NUM];
int txseq;
DPRINTF(sc, ATH_DEBUG_SW_TX_AGGR, "%s: called; hwq_depth=%d\n",
More information about the svn-src-head
mailing list