Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] [NET] libertas: compare the current command with response
@ 2008-03-04 17:22 Sebastian Siewior
  2008-03-04 17:23 ` Dan Williams
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Siewior @ 2008-03-04 17:22 UTC (permalink / raw)
  To: Holger Schurig; +Cc: Dan Williams, linux-wireless, John W. Linville

instead of with itself.

Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
---
Holger can please ACK/NACK this? According to my debug patch, it does
the right thing.

 drivers/net/wireless/libertas/cmdresp.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c
index 159216a..013245b 100644
--- a/drivers/net/wireless/libertas/cmdresp.c
+++ b/drivers/net/wireless/libertas/cmdresp.c
@@ -562,9 +562,7 @@ int lbs_process_rx_command(struct lbs_private *priv)
 	}
 
 	resp = (void *)priv->upld_buf;
-
-	curcmd = le16_to_cpu(resp->command);
-
+	curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command);
 	respcmd = le16_to_cpu(resp->command);
 	result = le16_to_cpu(resp->result);
 
-- 
1.5.3.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-04 18:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-04 17:22 [PATCH] [NET] libertas: compare the current command with response Sebastian Siewior
2008-03-04 17:23 ` Dan Williams
2008-03-04 18:20   ` Sebastian Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox