summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/ath5k
diff options
context:
space:
mode:
authorBruce Rogers2010-04-03 02:16:38 +0200
committerMarty Connor2010-04-16 13:32:49 +0200
commitf7c5918b179be57fc7f352cb33664eb43de02c30 (patch)
treee973cfc1dba4ccbc72ca4a3e363cbb7a2d44ef63 /src/drivers/net/ath5k
parent[build] Add support for local configuration files (diff)
downloadipxe-f7c5918b179be57fc7f352cb33664eb43de02c30.tar.gz
ipxe-f7c5918b179be57fc7f352cb33664eb43de02c30.tar.xz
ipxe-f7c5918b179be57fc7f352cb33664eb43de02c30.zip
[drivers] Fix warnings identified by gcc 4.5
In building gpxe for openSUSE Factory (part of kvm package), there were a few problems identified by the compiler. This patch addresses them. Signed-off-by: Bruce Rogers <brogers@novell.com> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Marty Connor <mdc@etherboot.org>
Diffstat (limited to 'src/drivers/net/ath5k')
-rw-r--r--src/drivers/net/ath5k/ath5k_qcu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/ath5k/ath5k_qcu.c b/src/drivers/net/ath5k/ath5k_qcu.c
index a674b85b8..cb2502935 100644
--- a/src/drivers/net/ath5k/ath5k_qcu.c
+++ b/src/drivers/net/ath5k/ath5k_qcu.c
@@ -268,7 +268,7 @@ int ath5k_hw_reset_tx_queue(struct ath5k_hw *ah)
}
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,