mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-19 17:11:03 +00:00
scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
commita2390348c1
upstream. Commit3515832cc6
("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:3515832cc6
("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>
This commit is contained in:
parent
31de69d5c9
commit
91cb90636e
1 changed files with 1 additions and 0 deletions
|
@ -971,6 +971,7 @@ static void qlt_free_session_done(struct work_struct *work)
|
|||
|
||||
logo.id = sess->d_id;
|
||||
logo.cmd_count = 0;
|
||||
sess->send_els_logo = 0;
|
||||
qlt_send_first_logo(vha, &logo);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue