]> err.no Git - linux-2.6/commit
libertas: before sleeping, check for a command result
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Fri, 23 May 2008 14:04:13 +0000 (16:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 3 Jun 2008 19:00:15 +0000 (15:00 -0400)
commitef707b8387c13b6aa3353b5519aa465cbe06034f
treec54819e888135fb8efa8c79f3cdd0c82a790258a
parentdf349f9fe7500fcb98f560c74b5e99477ca1df1c
libertas: before sleeping, check for a command result

If we don't check for a command response early, but rather sleep,
then we might sleep despite an already-received command response.
This will lead to a command-timeout.

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c