Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -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);