Skip to content
Commit 949bf797 authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[SCSI] fix command retries in spi_transport class



The premise is that domain validation is likely to trigger errors which
it wants to know about, so the only time it should be retrying them is
when it gets a unit attention (likely as the result of a previous bus or
device reset).  Ironically, the previous coding retried three times in
all cases except those of unit attention.  The attached fixes this to do
the right thing.

Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 69b52893
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment