libertas: inform which command is being resent due to timeout
Marcelo Tosatti
mtosatti at redhat.unroutablecom
Sun Dec 24 04:28:30 EST 2006
Commit: 5b9429be6056864b938ff6f39e5df3cecbbfcf4b
Parent: 84a2c54e19a58abd41563debb8e3d7467d8a24db
commit 5b9429be6056864b938ff6f39e5df3cecbbfcf4b
Author: Marcelo Tosatti <mtosatti at redhat.com>
AuthorDate: Sat Dec 23 01:41:47 2006 -0200
Commit: Andres Salomon <dilinger at debian.org>
CommitDate: Sun Dec 24 04:34:02 2006 -0500
libertas: inform which command is being resent due to timeout
Can help debugging.
Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
(cherry picked from 261e40bb213130e55969e5df01180ede8fa12051 commit)
---
drivers/net/wireless/libertas/wlan_fw.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/wireless/libertas/wlan_fw.c b/drivers/net/wireless/libertas/wlan_fw.c
index b0f89e2..184bbda 100644
--- a/drivers/net/wireless/libertas/wlan_fw.c
+++ b/drivers/net/wireless/libertas/wlan_fw.c
@@ -415,13 +415,15 @@ static void command_timer_fn(unsigned lo
wlan_private *priv = (wlan_private *)data;
wlan_adapter *Adapter = priv->adapter;
struct CmdCtrlNode *pTempNode;
- ulong flags;
+ struct HostCmd_DS_COMMAND *cmd;
+ unsigned long flags;
ENTER();
- printk(KERN_INFO "command_timer_fn fired.\n");
-
pTempNode = Adapter->CurCmd;
+ cmd = (struct HostCmd_DS_COMMAND *)pTempNode->BufVirtualAddr;
+
+ printk(KERN_INFO "command_timer_fn fired (%x)\n", cmd->Command);
if (!Adapter->fw_ready)
return;
More information about the Commits-kernel
mailing list