Use HAL_NUM_RX_QUEUES rather than a magic constant.

This commit is contained in:
Adrian Chadd 2012-07-19 03:18:15 +00:00
parent ad3e6dcd37
commit 661deb68d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238608

View File

@ -410,7 +410,7 @@ struct ath_softc {
uint32_t sc_bssidmask; /* bssid mask */
struct ath_rx_methods sc_rx;
struct ath_rx_edma sc_rxedma[2]; /* HP/LP queues */
struct ath_rx_edma sc_rxedma[HAL_NUM_RX_QUEUES]; /* HP/LP queues */
int sc_rx_statuslen;
int sc_tx_desclen;
int sc_tx_statuslen;