|
@@ -2563,11 +2563,11 @@ qla2xx_build_scsi_type_6_iocbs(srb_t *sp, struct cmd_type_6 *cmd_pkt,
|
|
|
dsd_seg = (uint32_t *)&cmd_pkt->fcp_data_dseg_address;
|
|
|
*dsd_seg++ = cpu_to_le32(LSD(dsd_ptr->dsd_list_dma));
|
|
|
*dsd_seg++ = cpu_to_le32(MSD(dsd_ptr->dsd_list_dma));
|
|
|
- cmd_pkt->fcp_data_dseg_len = dsd_list_len;
|
|
|
+ *dsd_seg++ = cpu_to_le32(dsd_list_len);
|
|
|
} else {
|
|
|
*cur_dsd++ = cpu_to_le32(LSD(dsd_ptr->dsd_list_dma));
|
|
|
*cur_dsd++ = cpu_to_le32(MSD(dsd_ptr->dsd_list_dma));
|
|
|
- *cur_dsd++ = dsd_list_len;
|
|
|
+ *cur_dsd++ = cpu_to_le32(dsd_list_len);
|
|
|
}
|
|
|
cur_dsd = (uint32_t *)next_dsd;
|
|
|
while (avail_dsds) {
|