scsi: qla2xxx: Fix task mgmt handling for NPIV
authorQuinn Tran <quinn.tran@cavium.com>
Wed, 23 Aug 2017 22:05:13 +0000 (15:05 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:29:27 +0000 (22:29 -0400)
commit72fcd4eb3c046cd59cb2ab5a7fc1555e8621a4b0
tree8f80091a4249dc138a2cbb2b536a635ca7a706b7
parenta14c771125c99bbe7f9075f1da3b1fcd8e3f4d2c
scsi: qla2xxx: Fix task mgmt handling for NPIV

Fix task management response for NPIV Target mode.
Current code uses the wrong vp index.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.c
drivers/scsi/qla2xxx/qla_target.h