mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
4b785241ad
commit
a2d301e8d6
|
@ -685,7 +685,7 @@ qla2x00_async_event(scsi_qla_host_t *vha, struct rsp_que *rsp, uint16_t *mb)
|
|||
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));
|
||||
|
|
Loading…
Reference in New Issue