Avoid using hard-coded numbers here.
This commit is contained in:
parent
a8e02da8f8
commit
7afba97405
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user