]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] lpfc: Fix LS_RJT never sent by lpfc_els_unsol_event()
authorJames.Smart@Emulex.Com <James.Smart@Emulex.Com>
Sat, 25 Jun 2005 14:34:27 +0000 (10:34 -0400)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 2 Jul 2005 23:55:23 +0000 (18:55 -0500)
commit1f679cafd2d02b7076e9045d9c4fb77ef8d059f2
tree634a1337b734ed2ff8715e4c9368e764a03b6aac
parent06325e7459b54fc924d00fe363068f6cbf284571
[SCSI] lpfc: Fix LS_RJT never sent by lpfc_els_unsol_event()

lpfc_els_unsol_event() checks rjt_err to determine is LS_RJT should be
sent.  However, rjt_err was set to LSEXP_NOTHING_ELSE (which is 0) in
cases where an LS_RJT should be sent, so rjt_err was never true.
Change lpfc_els_unsol_event() to set rjt_err to 1 when LS_RJT should
be sent.

Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/lpfc/lpfc_els.c