diff options
author | Bruno Randolf <br1@einfach.org> | 2010-06-16 06:11:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-16 14:59:00 -0400 |
commit | 265faadd6a01b9462bbc3ead26a3e32a717525c5 (patch) | |
tree | abbfc6e5d326fae8620cfb7aeb32200a9339afcb | |
parent | beade6363cbb5308ba9918d7547aa574ae08a8bd (diff) |
ath5k: fix rx descriptor debugging
In the debug ouptut rx_status_0 was printed twice instead of rx_status_1. Also
make the debug message more clear.
Signed-off-by: Bruno Randolf <br1@einfach.org>
Acked-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath5k/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/debug.c b/drivers/net/wireless/ath/ath5k/debug.c index 5984edc95515..02db66e55480 100644 --- a/drivers/net/wireless/ath/ath5k/debug.c +++ b/drivers/net/wireless/ath/ath5k/debug.c | |||
@@ -925,7 +925,7 @@ ath5k_debug_printrxbuf(struct ath5k_buf *bf, int done, | |||
925 | ds, (unsigned long long)bf->daddr, | 925 | ds, (unsigned long long)bf->daddr, |
926 | ds->ds_link, ds->ds_data, | 926 | ds->ds_link, ds->ds_data, |
927 | rd->rx_ctl.rx_control_0, rd->rx_ctl.rx_control_1, | 927 | rd->rx_ctl.rx_control_0, rd->rx_ctl.rx_control_1, |
928 | rd->u.rx_stat.rx_status_0, rd->u.rx_stat.rx_status_0, | 928 | rd->u.rx_stat.rx_status_0, rd->u.rx_stat.rx_status_1, |
929 | !done ? ' ' : (rs->rs_status == 0) ? '*' : '!'); | 929 | !done ? ' ' : (rs->rs_status == 0) ? '*' : '!'); |
930 | } | 930 | } |
931 | 931 | ||
@@ -940,7 +940,7 @@ ath5k_debug_printrxbuffs(struct ath5k_softc *sc, struct ath5k_hw *ah) | |||
940 | if (likely(!(sc->debug.level & ATH5K_DEBUG_RESET))) | 940 | if (likely(!(sc->debug.level & ATH5K_DEBUG_RESET))) |
941 | return; | 941 | return; |
942 | 942 | ||
943 | printk(KERN_DEBUG "rx queue %x, link %p\n", | 943 | printk(KERN_DEBUG "rxdp %x, rxlink %p\n", |
944 | ath5k_hw_get_rxdp(ah), sc->rxlink); | 944 | ath5k_hw_get_rxdp(ah), sc->rxlink); |
945 | 945 | ||
946 | spin_lock_bh(&sc->rxbuflock); | 946 | spin_lock_bh(&sc->rxbuflock); |