Commit 8a96df80 authored by Sebastian Siewior's avatar Sebastian Siewior Committed by John W. Linville
Browse files

libertas: compare the current command with response



instead of with itself.
Signed-off-by: default avatarSebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 6305f498
...@@ -562,9 +562,7 @@ int lbs_process_rx_command(struct lbs_private *priv) ...@@ -562,9 +562,7 @@ int lbs_process_rx_command(struct lbs_private *priv)
} }
resp = (void *)priv->upld_buf; resp = (void *)priv->upld_buf;
curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command);
curcmd = le16_to_cpu(resp->command);
respcmd = le16_to_cpu(resp->command); respcmd = le16_to_cpu(resp->command);
result = le16_to_cpu(resp->result); result = le16_to_cpu(resp->result);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment