From 7003b078c82d141216deecef4de154711a107aab Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 17 Dec 2007 15:22:43 -0500 Subject: libertas: use priv->upld_buf for command responses If we don't scribble over the command we sent, then we can retry it when the firmware responds with 0x0004 (which means -EAGAIN). Signed-off-by: David Woodhouse Signed-off-by: John W. Linville --- drivers/net/wireless/libertas/cmdresp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/net/wireless/libertas/cmdresp.c') diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c index d305e982c50..4d384612afa 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c @@ -639,7 +639,7 @@ int lbs_process_rx_command(struct lbs_private *priv) goto done; } - resp = priv->cur_cmd->cmdbuf; + resp = (void *)priv->upld_buf; curcmd = le16_to_cpu(resp->command); -- cgit v1.2.3-70-g09d2