diff options
author | Sebastian Siewior <bigeasy@tglx.de> | 2008-03-04 18:22:27 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-04 18:36:39 -0500 |
commit | 8a96df80b3ddb2410045a26ea19eeccb5f2d2d11 (patch) | |
tree | f2d8b7e5f6614a561a71a2044ade59dc1b6cea50 /drivers | |
parent | 6305f498604df6c66bdb4cc533ce6332fa5ab61f (diff) | |
download | kernel_samsung_espresso10-8a96df80b3ddb2410045a26ea19eeccb5f2d2d11.zip kernel_samsung_espresso10-8a96df80b3ddb2410045a26ea19eeccb5f2d2d11.tar.gz kernel_samsung_espresso10-8a96df80b3ddb2410045a26ea19eeccb5f2d2d11.tar.bz2 |
libertas: compare the current command with response
instead of with itself.
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | 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 e2b0746..bdc6a1c 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); |