Skip to content

Commit

Permalink
libertas: compare the current command with response
Browse files Browse the repository at this point in the history
instead of with itself.

Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Sebastian Siewior authored and John W. Linville committed Mar 4, 2008
1 parent 6305f49 commit 8a96df8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/net/wireless/libertas/cmdresp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8a96df8

Please sign in to comment.