aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2003-05-23 02:40:58 (GMT)
committerJouni Malinen <j@w1.fi>2003-05-23 02:40:58 (GMT)
commit4248dd6f01de87a52ce43b2f5f5cfa7dce7ccd47 (patch)
tree14d52fc145d171c5de58a76d7277d80061ad16ac
parent0d9b49ac7e5a1b3185b2602a7c8b73ea4e2439a4 (diff)
downloadhostap-history-4248dd6f01de87a52ce43b2f5f5cfa7dce7ccd47.zip
hostap-history-4248dd6f01de87a52ce43b2f5f5cfa7dce7ccd47.tar.gz
hostap-history-4248dd6f01de87a52ce43b2f5f5cfa7dce7ccd47.tar.bz2
Show IntEn register contents in "command was not completed" error message
to ease debugging.
-rw-r--r--driver/modules/hostap_hw.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/driver/modules/hostap_hw.c b/driver/modules/hostap_hw.c
index 2b37bb9..7df37ea 100644
--- a/driver/modules/hostap_hw.c
+++ b/driver/modules/hostap_hw.c
@@ -400,8 +400,9 @@ static int hfa384x_cmd(struct net_device *dev, u16 cmd, u16 param0,
u16 reg = HFA384X_INW(HFA384X_EVSTAT_OFF);
printk(KERN_DEBUG "%s: hfa384x_cmd: command was not "
"completed (res=%d, entry=%p, type=%d, cmd=0x%04x, "
- "param0=0x%04x, EVSTAT=%04x)\n", dev->name, res,
- entry, entry->type, entry->cmd, entry->param0, reg);
+ "param0=0x%04x, EVSTAT=%04x INTEN=%04x)\n", dev->name,
+ res, entry, entry->type, entry->cmd, entry->param0, reg,
+ HFA384X_INW(HFA384X_INTEN_OFF));
if (reg & HFA384X_EV_CMD) {
/* Command completion event is pending, but the
* interrupt was not delivered - probably an issue