scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
authorHimanshu Madhani <hmadhani@redhat.com>
Mon, 22 Jan 2018 20:04:20 +0000 (12:04 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Mar 2018 11:06:45 +0000 (12:06 +0100)
commit91cb90636e038c8403ac581f3cc285efd1ba5ec5
tree0bde6ef2eb81ed6cf06cbe3be9a0440a720c95a5
parent31de69d5c9b83c066cf7cf0774912e01fc4ef530
scsi: qla2xxx: Fix logo flag for qlt_free_session_done()

commit a2390348c19d0819d525d375414a7cfdacb51a68 upstream.

Commit 3515832cc614 ("scsi: qla2xxx: Reset the logo flag, after target
re-login.")fixed the target re-login after session relogin is complete,
but missed out the qlt_free_session_done() path.

This patch clears send_els_logo flag in qlt_free_session_done()
callback.

[mkp: checkpatch]

Fixes: 3515832cc614 ("scsi: qla2xxx: Reset the logo flag, after target re-login.")
Signed-off-by: Himanshu Madhani <hmadhani@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla2xxx/qla_target.c