qla2x00t: Send back proper task management response code (merge r4529 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4584 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-11-03 14:30:10 +00:00
parent 3e8f92d470
commit c9b55878ad

View File

@@ -1873,7 +1873,7 @@ static void q24_send_task_mgmt_ctio(scsi_qla_host_t *ha,
ctio->ox_id = swab16(atio->fcp_hdr.ox_id);
ctio->scsi_status = __constant_cpu_to_le16(SS_RESPONSE_INFO_LEN_VALID);
ctio->response_len = __constant_cpu_to_le16(8);
((uint32_t *)ctio->sense_data)[0] = cpu_to_be32(resp_code);
((uint32_t *)ctio->sense_data)[0] = cpu_to_le32(resp_code);
TRACE_BUFFER("CTIO7 TASK MGMT packet data", ctio, REQUEST_ENTRY_SIZE);