[SCSI] qla4xxx: Don't recover adapter if device state is FAILED
authorSarang Radke <sarang.radke@qlogic.com>
Fri, 2 Dec 2011 06:42:09 +0000 (22:42 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 15 Dec 2011 06:57:41 +0000 (10:57 +0400)
commit8e0f3a66a2833eaad618584c2bac89a8ae2efce7
treec86cee3cf7f1f042893139f6a0a7c3df71f1f99d
parent8a288960192591c405767d98ebe372f66df1a6c6
[SCSI] qla4xxx: Don't recover adapter if device state is FAILED

Multiple reset request don't get handled correctly as
the driver tries to recover adapter which is in FAILED state.

Signed-off-by: Sarang Radke <sarang.radke@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_os.c