projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7506175
)
scsi: qla2xxx: Fix login state machine freeze
author
Quinn Tran
<
[email protected]
>
Thu, 28 Dec 2017 20:33:30 +0000
(12:33 -0800)
committer
Martin K. Petersen
<
[email protected]
>
Thu, 4 Jan 2018 04:41:06 +0000
(23:41 -0500)
Relogin stop moving forward due to improper check of scan_state flag.
Signed-off-by: Quinn Tran <
[email protected]
>
Signed-off-by: Himanshu Madhani <
[email protected]
>
Signed-off-by: Martin K. Petersen <
[email protected]
>
drivers/scsi/qla2xxx/qla_init.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_init.c
b/drivers/scsi/qla2xxx/qla_init.c
index 4f4d8b2b7b3288f5c96cb28d6c8e01cef9e75972..bb0669901e13c73c1eff7fb32b066cde0d8a6195 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_init.c
+++ b/
drivers/scsi/qla2xxx/qla_init.c
@@
-1268,11
+1268,6
@@
void qla24xx_handle_relogin_event(scsi_qla_host_t *vha,
{
fc_port_t *fcport = ea->fcport;
- if (fcport->scan_state != QLA_FCPORT_FOUND) {
- fcport->login_retry++;
- return;
- }
-
ql_dbg(ql_dbg_disc, vha, 0x2102,
"%s %8phC DS %d LS %d P %d del %d cnfl %p rscn %d|%d login %d|%d fl %x\n",
__func__, fcport->port_name, fcport->disc_state,
@@
-1322,7
+1317,6
@@
void qla2x00_fcport_event_handler(scsi_qla_host_t *vha, struct event_arg *ea)
int rc;
switch (ea->event) {
- case FCME_RELOGIN:
case FCME_RSCN:
case FCME_GIDPN_DONE:
case FCME_GPSC_DONE: