aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorSantosh Vernekar <santosh.vernekar@qlogic.com>2009-07-31 15:09:29 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-08-22 17:52:18 -0500
commita2d301e8d62ecd36dbfec69be13859ae3050f6fa (patch)
tree1ee4469594c501edf2f48121b63086e710692e2f /drivers/scsi/qla2xxx
parent4b785241ad6d07176a692631dbda3605f4917a18 (diff)
downloadkernel_samsung_smdk4412-a2d301e8d62ecd36dbfec69be13859ae3050f6fa.zip
kernel_samsung_smdk4412-a2d301e8d62ecd36dbfec69be13859ae3050f6fa.tar.gz
kernel_samsung_smdk4412-a2d301e8d62ecd36dbfec69be13859ae3050f6fa.tar.bz2
[SCSI] qla2xxx: Handle RSCN's per master/slave vn-port basis.
Signed-off-by: Santosh Vernekar <santosh.vernekar@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 63e7cdc..40014f3 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -685,7 +685,7 @@ skip_rio:
if (vha->vp_idx && test_bit(VP_SCR_NEEDED, &vha->vp_flags))
break;
/* Only handle SCNs for our Vport index. */
- if (vha->vp_idx && vha->vp_idx != (mb[3] & 0xff))
+ if (vha->vp_idx != (mb[3] & 0xff))
break;
DEBUG2(printk("scsi(%ld): Asynchronous RSCR UPDATE.\n",
vha->host_no));