Commit a2390348 authored by Himanshu Madhani's avatar Himanshu Madhani Committed by Martin K. Petersen

scsi: qla2xxx: Fix logo flag for qlt_free_session_done()

Commit 3515832c ("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: 3515832c ("scsi: qla2xxx: Reset the logo flag, after target re-login.")
Signed-off-by: default avatarHimanshu Madhani <hmadhani@redhat.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 45596c78
...@@ -988,6 +988,7 @@ static void qlt_free_session_done(struct work_struct *work) ...@@ -988,6 +988,7 @@ static void qlt_free_session_done(struct work_struct *work)
logo.id = sess->d_id; logo.id = sess->d_id;
logo.cmd_count = 0; logo.cmd_count = 0;
sess->send_els_logo = 0;
qlt_send_first_logo(vha, &logo); qlt_send_first_logo(vha, &logo);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment