Invert the polarity of two tests in the recovery code that could cause
the driver to issue a bus reset more quickly than intended. We want to *wait* if we find another SCB that could be the cause of this timeout, not proceed to a bus reset. Noticed by: kan
This commit is contained in:
parent
aed921b969
commit
0d0c8be691
@ -9391,7 +9391,7 @@ bus_reset:
|
||||
* untimed-out command is outstanding.
|
||||
*/
|
||||
if (ahd_other_scb_timeout(ahd, scb,
|
||||
active_scb) != 0)
|
||||
active_scb) == 0)
|
||||
goto bus_reset;
|
||||
continue;
|
||||
}
|
||||
@ -9430,7 +9430,7 @@ bus_reset:
|
||||
* some other command. Reset the timer
|
||||
* and go on.
|
||||
*/
|
||||
if (ahd_other_scb_timeout(ahd, scb, NULL) != 0)
|
||||
if (ahd_other_scb_timeout(ahd, scb, NULL) == 0)
|
||||
goto bus_reset;
|
||||
} else {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user