Avoid using hard-coded numbers here.

This commit is contained in:
Adrian Chadd 2012-05-26 01:35:11 +00:00
parent a35baf81c9
commit b815538dec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=236038

View File

@ -3580,7 +3580,7 @@ ath_tx_aggr_comp_aggr(struct ath_softc *sc, struct ath_buf *bf_first,
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",