aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-08-08 09:22:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-14 09:13:51 -0400
commit4d30d309a3be84dfb01743ceb4652405204a80a0 (patch)
tree2f8516662771c0b319b4a1602b60fd92d8a5d037
parent4b181144e6c1c25aaba9b9fc7cc70c95495ecb92 (diff)
drivers/net/wireless/ath/ath5k: Change constant name
Elsewhere, the tqi_type field is compared to constants having a name beginning with AR5K_TX_QUEUE, rather than AR5K_TX_QUEUE_ID. I have thus converted AR5K_TX_QUEUE_ID_CAB to AR5K_TX_QUEUE_CAB. This does, however, change the value, so perhaps something else was wanted. Signed-off-by: Julia Lawall <julia@diku.dk> Acked-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath5k/qcu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/qcu.c b/drivers/net/wireless/ath/ath5k/qcu.c
index 6d5aaf00d8bb..eeebb9aef206 100644
--- a/drivers/net/wireless/ath/ath5k/qcu.c
+++ b/drivers/net/wireless/ath/ath5k/qcu.c
@@ -362,7 +362,7 @@ int ath5k_hw_reset_tx_queue(struct ath5k_hw *ah, unsigned int queue)
362 } 362 }
363 363
364 if (tq->tqi_ready_time && 364 if (tq->tqi_ready_time &&
365 (tq->tqi_type != AR5K_TX_QUEUE_ID_CAB)) 365 (tq->tqi_type != AR5K_TX_QUEUE_CAB))
366 ath5k_hw_reg_write(ah, AR5K_REG_SM(tq->tqi_ready_time, 366 ath5k_hw_reg_write(ah, AR5K_REG_SM(tq->tqi_ready_time,
367 AR5K_QCU_RDYTIMECFG_INTVAL) | 367 AR5K_QCU_RDYTIMECFG_INTVAL) |
368 AR5K_QCU_RDYTIMECFG_ENABLE, 368 AR5K_QCU_RDYTIMECFG_ENABLE,