• James Bottomley's avatar
    [SCSI] fix command retries in spi_transport class · 949bf797
    James Bottomley authored
    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>
    949bf797
scsi_transport_spi.c 27.8 KB