forked from Minki/linux
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>
This commit is contained in:
parent
6305f49860
commit
8a96df80b3
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user