libertas: fix sanity check on sequence number in command response
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 3 Mar 2008 11:20:12 +0000 (12:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Mar 2008 23:36:37 +0000 (18:36 -0500)
commit6305f498604df6c66bdb4cc533ce6332fa5ab61f
tree31b17cb19d71aa85e9f016cf58d84ac463d3cbe0
parentc2f2d3a06f8b628d444cf4f396d6c6ddd47e1d1f
libertas: fix sanity check on sequence number in command response

Slightly more useful if we compare it against the sequence number of the
command we have outstanding, rather than comparing the reply with itself.

Doh. Pointed out by Sebastian Siewior

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmdresp.c