diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2008-05-23 16:04:13 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-03 15:00:15 -0400 |
commit | ef707b8387c13b6aa3353b5519aa465cbe06034f (patch) | |
tree | c54819e888135fb8efa8c79f3cdd0c82a790258a /ipc/sem.c | |
parent | df349f9fe7500fcb98f560c74b5e99477ca1df1c (diff) |
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>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions