projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beade63
)
ath5k: fix rx descriptor debugging
author
Bruno Randolf
<br1@einfach.org>
Wed, 16 Jun 2010 10:11:30 +0000
(19:11 +0900)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 16 Jun 2010 18:59:00 +0000
(14:59 -0400)
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>
drivers/net/wireless/ath/ath5k/debug.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath5k/debug.c
b/drivers/net/wireless/ath/ath5k/debug.c
index 5984edc955157f98eaed666a178a781d6aec3e12..02db66e55480ba3434450572a58544de67351a34 100644
(file)
--- 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,
ds, (unsigned long long)bf->daddr,
ds->ds_link, ds->ds_data,
rd->rx_ctl.rx_control_0, rd->rx_ctl.rx_control_1,
- rd->u.rx_stat.rx_status_0, rd->u.rx_stat.rx_status_
0
,
+ rd->u.rx_stat.rx_status_0, rd->u.rx_stat.rx_status_
1
,
!done ? ' ' : (rs->rs_status == 0) ? '*' : '!');
}
@@
-940,7
+940,7
@@
ath5k_debug_printrxbuffs(struct ath5k_softc *sc, struct ath5k_hw *ah)
if (likely(!(sc->debug.level & ATH5K_DEBUG_RESET)))
return;
- printk(KERN_DEBUG "rx
queue %x,
link %p\n",
+ printk(KERN_DEBUG "rx
dp %x, rx
link %p\n",
ath5k_hw_get_rxdp(ah), sc->rxlink);
spin_lock_bh(&sc->rxbuflock);