]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SCSI: qla2xxx: Correct regression in relogin code.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Sun, 27 Apr 2008 18:35:08 +0000 (18:35 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 May 2008 21:44:39 +0000 (14:44 -0700)
commitd4aa5e3e3e76f3f8c54c7ab1259feabbd4b7da32
tree3684d5f0e720a7415748392336da40778b901a8d
parenta45a6e6cd8a526bbd4b4fad99a276ec6329c810c
SCSI: qla2xxx: Correct regression in relogin code.

commit: 666301e673e192c87a40e07a8357d6996b57b70f upstream

Commit 63a8651f2548c6bb5132c0b4e7dad4f57a9274db ([SCSI] qla2xxx:
Correct infinite-login-retry issue.) introduced a small
regression where a successful relogin would result in an fcport's
loop_id to be incorrectly reset to FC_NO_LOOP_ID.  Only clear-out
loopid, if retries have been 'truly' exhausted.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/qla2xxx/qla_os.c