scsi: esp_scsi: Always clear msg_out_len after MESSAGE OUT phase
authorFinn Thain <fthain@telegraphics.com.au>
Fri, 4 Aug 2017 05:43:20 +0000 (01:43 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Aug 2017 23:55:35 +0000 (19:55 -0400)
commitd60e9eec95d2e81253eaf3c39ac8baf4830d0472
treed20d6730722dad9daeb5847191117fe696146d9a
parentc69edff5c5a7ee539b353c4266cccb9080ab55b4
scsi: esp_scsi: Always clear msg_out_len after MESSAGE OUT phase

After sending a message, always clear esp->msg_out_len. Otherwise,
eh_abort_handler may subsequently fail to send an ABORT TASK SET
message.

Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/esp_scsi.c