Skip to content

Commit a239034

Browse files
Himanshu Madhanimartinkpetersen
authored andcommitted
scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
Commit 3515832 ("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: 3515832 ("scsi: qla2xxx: Reset the logo flag, after target re-login.") Signed-off-by: Himanshu Madhani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 45596c7 commit a239034

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/scsi/qla2xxx/qla_target.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -988,6 +988,7 @@ static void qlt_free_session_done(struct work_struct *work)
988988

989989
logo.id = sess->d_id;
990990
logo.cmd_count = 0;
991+
sess->send_els_logo = 0;
991992
qlt_send_first_logo(vha, &logo);
992993
}
993994

0 commit comments

Comments
 (0)