]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] qla2xxx: Correct PLOGI retry logic.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Wed, 23 Aug 2006 21:54:54 +0000 (14:54 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 26 Aug 2006 14:26:27 +0000 (09:26 -0500)
commit9c06938aa458843fb71fa35371f23a3b89317252
tree1734579259d73df860207c1e66c5404011e127cf
parentb2155d0417df9f2b4c0d396b6530b864d9f08623
[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>
drivers/scsi/qla2xxx/qla_os.c