scsi: qla2xxx: Reset the logo flag, after target re-login.
authorQuinn Tran <quinn.tran@cavium.com>
Wed, 30 Aug 2017 17:16:50 +0000 (10:16 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 31 Aug 2017 02:15:29 +0000 (22:15 -0400)
commit3515832cc61467bfb87191a30401de1700e9956a
tree47df6358d61d06beea8ce360121589185a7cb97c
parentb5d1531260b9e5819edcaed8b549859e582e4ca4
scsi: qla2xxx: Reset the logo flag, after target re-login.

After relogin is sucessful, "send_els_logo" flag needs to be
reinitialized. This will allow next re-login to happen successfully.

In target mode, this flag was not reset correctly, causing IO's failure
during reset recovery and port ON/OFF test cases from initiator.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Sawan Chandak <sawan.chandak@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_target.c