scsi: qla4xxx: Use iscsi_is_session_online()
authorMike Christie <michael.christie@oracle.com>
Sun, 7 Feb 2021 04:46:07 +0000 (22:46 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 9 Feb 2021 03:39:04 +0000 (22:39 -0500)
commit5b0ec4cf049446e676276cd3037b9c6bf53b8f94
tree9d0e02907dd53a4a21b8f1b2f2c53e44075417ef
parentc8447e4c2eb77dbb96012ae96e7c83179cecf880
scsi: qla4xxx: Use iscsi_is_session_online()

__qla4xxx_is_chap_active() just wants to know if a session is online and
does not care about why it's not, so this has it use
iscsi_is_session_online().

This is not a bug now, but the next patch changes the behavior of
iscsi_session_chkready() so this patch just prepares the driver for that
change.

Link: https://lore.kernel.org/r/20210207044608.27585-9-michael.christie@oracle.com
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla4xxx/ql4_os.c