diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2006-08-23 17:54:54 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-08-26 10:26:27 -0400 |
commit | 9c06938aa458843fb71fa35371f23a3b89317252 (patch) | |
tree | 1734579259d73df860207c1e66c5404011e127cf /drivers/scsi | |
parent | b2155d0417df9f2b4c0d396b6530b864d9f08623 (diff) |
[SCSI] qla2xxx: Correct PLOGI retry logic.
Original code attempts to retry PLOGIs to fcports that are
FCP_TARGETs only. If the driver never performed a successful
PLOGI/PRLI, the port-type would never be assigned, and the
relogin logic would silently drop the request (and thus the port
would not be recognized and registered).
The fix is relatively straightforward, drop the FCP_TARGET-only
check.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 1e2b95bac830..65cbe2f5eea2 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -2238,9 +2238,6 @@ qla2x00_do_dpc(void *data) | |||
2238 | 2238 | ||
2239 | next_loopid = 0; | 2239 | next_loopid = 0; |
2240 | list_for_each_entry(fcport, &ha->fcports, list) { | 2240 | list_for_each_entry(fcport, &ha->fcports, list) { |
2241 | if (fcport->port_type != FCT_TARGET) | ||
2242 | continue; | ||
2243 | |||
2244 | /* | 2241 | /* |
2245 | * If the port is not ONLINE then try to login | 2242 | * If the port is not ONLINE then try to login |
2246 | * to it if we haven't run out of retries. | 2243 | * to it if we haven't run out of retries. |