]> Git Repo - linux.git/commitdiff
drivers/net/wireless/ath/ath5k: Change constant name
authorJulia Lawall <[email protected]>
Sat, 8 Aug 2009 13:22:26 +0000 (15:22 +0200)
committerJohn W. Linville <[email protected]>
Fri, 14 Aug 2009 13:13:51 +0000 (09:13 -0400)
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 <[email protected]>
Acked-by: Bob Copeland <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/ath/ath5k/qcu.c

index 6d5aaf00d8bb6e33c836930db980f34b1cbabdb0..eeebb9aef2060eb90bb10f487c875f2d0982057a 100644 (file)
@@ -362,7 +362,7 @@ int ath5k_hw_reset_tx_queue(struct ath5k_hw *ah, unsigned int queue)
                }
 
                if (tq->tqi_ready_time &&
-               (tq->tqi_type != AR5K_TX_QUEUE_ID_CAB))
+               (tq->tqi_type != AR5K_TX_QUEUE_CAB))
                        ath5k_hw_reg_write(ah, AR5K_REG_SM(tq->tqi_ready_time,
                                AR5K_QCU_RDYTIMECFG_INTVAL) |
                                AR5K_QCU_RDYTIMECFG_ENABLE,
This page took 0.046396 seconds and 4 git commands to generate.