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

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)
}
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);
......
Markdown is supported
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