[SCSI] qla4xxx: Fix clear ddb mbx command failure issue.
authorManish Rangankar <manish.rangankar@qlogic.com>
Tue, 24 Apr 2012 05:32:34 +0000 (22:32 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 30 May 2012 08:58:30 +0000 (12:58 +0400)
Allow ddb state to change to DDB_DS_NO_CONNECTION_ACTIVE or
DDB_DS_SESSION_FAILED before issuing clear ddb mailbox cmd,
because clear ddb mailbox cmd fails if the ddb state is not
equal to DDB_DS_NO_CONNECTION_ACTIVE or DDB_DS_SESSION_FAILED.

Signed-off-by: Manish Rangankar <manish.rangankar@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

No differences found