diff options
| -rw-r--r-- | drivers/usb/storage/isd200.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/storage/isd200.c b/drivers/usb/storage/isd200.c index 6090e1064c67..32c5474b6585 100644 --- a/drivers/usb/storage/isd200.c +++ b/drivers/usb/storage/isd200.c @@ -589,7 +589,9 @@ void isd200_invoke_transport( struct us_data *us, if (atomic_read(&us->sm_state) == US_STATE_ABORTING) { US_DEBUGP("-- auto-sense aborted\n"); srb->result = DID_ABORT << 16; - } else if (result == ISD200_GOOD) { + return; + } + if (result == ISD200_GOOD) { isd200_build_sense(us, srb); srb->result = CHECK_CONDITION << 1; |
