Skip to content

Commit

Permalink
libertas: fix the 'compare command with itself' properly
Browse files Browse the repository at this point in the history
|libertas: Invalid CMD_RESP 8012 to command 50!

The special case got mixed up in 8a96df8.

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 11, 2008
1 parent 97ed839 commit 5f0547c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/libertas/cmdresp.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ int lbs_process_rx_command(struct lbs_private *priv)
goto done;
}
if (respcmd != CMD_RET(curcmd) &&
respcmd != CMD_802_11_ASSOCIATE && curcmd != CMD_RET_802_11_ASSOCIATE) {
respcmd != CMD_RET_802_11_ASSOCIATE && curcmd != CMD_802_11_ASSOCIATE) {
lbs_pr_info("Invalid CMD_RESP %x to command %x!\n", respcmd, curcmd);
spin_unlock_irqrestore(&priv->driver_lock, flags);
ret = -1;
Expand Down

0 comments on commit 5f0547c

Please sign in to comment.