[SCSI] bnx2fc: Handle SRR LS_ACC drop scenario
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Mon, 24 Oct 2011 06:23:57 +0000 (23:23 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 30 Oct 2011 10:04:01 +0000 (14:04 +0400)
When SRR LS_ACC is dropped, the driver was not issuing ABTS for SRR when it
times out. Since the target received SRR, it was able to send the XFER_RDY and
the the original IO request completed successfully. In this condition ABTS was
not sent during bnx2fc_srr_compl(). Fix this by first checking for ELS timeout
and issue ABTS before checking if original IO request is complete.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_els.c

Simple merge