diff options
author | adrian <adrian@FreeBSD.org> | 2012-05-26 01:35:11 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-05-26 01:35:11 +0000 |
commit | 7afba97405af469e77ab3504a5a43fc657bb461f (patch) | |
tree | a09a3887e79bbf0047bdba59c3b482de3a70ceef | |
parent | a8e02da8f81be7ef526c72be8f96f645849e3bcf (diff) | |
download | FreeBSD-src-7afba97405af469e77ab3504a5a43fc657bb461f.zip FreeBSD-src-7afba97405af469e77ab3504a5a43fc657bb461f.tar.gz |
Avoid using hard-coded numbers here.
-rw-r--r-- | sys/dev/ath/if_ath_tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c index e287a63..c188e45 100644 --- a/sys/dev/ath/if_ath_tx.c +++ b/sys/dev/ath/if_ath_tx.c @@ -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", |