From 661deb68d5188f637eeac633ffe813f12ed7e355 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Thu, 19 Jul 2012 03:18:15 +0000 Subject: [PATCH] Use HAL_NUM_RX_QUEUES rather than a magic constant. --- sys/dev/ath/if_athvar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h index b5dcabe6b07..87848ceaf5b 100644 --- a/sys/dev/ath/if_athvar.h +++ b/sys/dev/ath/if_athvar.h @@ -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;