diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 5a19aea17022..cbce52eb9b94 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c | |||
@@ -2284,6 +2284,7 @@ qla2x00_process_vendor_specific(struct fc_bsg_job *bsg_job) | |||
2284 | "scsi(%ld) Vendor request %s failed\n", vha->host_no, type)); | 2284 | "scsi(%ld) Vendor request %s failed\n", vha->host_no, type)); |
2285 | rval = 0; | 2285 | rval = 0; |
2286 | bsg_job->reply->result = (DID_ERROR << 16); | 2286 | bsg_job->reply->result = (DID_ERROR << 16); |
2287 | bsg_job->reply->reply_payload_rcv_len = 0; | ||
2287 | fw_sts_ptr = ((uint8_t*)bsg_job->req->sense) + sizeof(struct fc_bsg_reply); | 2288 | fw_sts_ptr = ((uint8_t*)bsg_job->req->sense) + sizeof(struct fc_bsg_reply); |
2288 | memcpy( fw_sts_ptr, response, sizeof(response)); | 2289 | memcpy( fw_sts_ptr, response, sizeof(response)); |
2289 | fw_sts_ptr += sizeof(response); | 2290 | fw_sts_ptr += sizeof(response); |