diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2012-11-21 18:13:10 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-11-21 14:16:02 -0500 |
commit | bea843c73854becf998047a83af22a90de3fd19b (patch) | |
tree | 5da51cb431a08bee648b1ec155c57ea5e2ccf452 /drivers/net/wireless/ath/ath9k/init.c | |
parent | 067293876ef9be3f29492d4b80c267bbd6369b92 (diff) | |
download | talos-obmc-linux-bea843c73854becf998047a83af22a90de3fd19b.tar.gz talos-obmc-linux-bea843c73854becf998047a83af22a90de3fd19b.zip |
ath9k/ath9k_htc: Remove WME macros
Use the macros provided by mac80211 and remove redundant
declarations inside the drivers.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 546bae93647b..345a01af542b 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c @@ -435,7 +435,7 @@ static int ath9k_init_queues(struct ath_softc *sc) sc->config.cabqReadytime = ATH_CABQ_READY_TIME; ath_cabq_update(sc); - for (i = 0; i < WME_NUM_AC; i++) { + for (i = 0; i < IEEE80211_NUM_ACS; i++) { sc->tx.txq_map[i] = ath_txq_setup(sc, ATH9K_TX_QUEUE_DATA, i); sc->tx.txq_map[i]->mac80211_qnum = i; sc->tx.txq_max_pending[i] = ATH_MAX_QDEPTH; |