Merge current mainline tree into linux-omap tree
[pandora-kernel.git] / drivers / scsi / qlogicpti.c
index 4a1cf63..9053508 100644 (file)
@@ -914,6 +914,7 @@ static inline int load_cmd(struct scsi_cmnd *Cmnd, struct Command_Entry *cmd,
                                ds[i].d_count = sg_dma_len(s);
                        }
                        sg_count -= n;
+                       sg = s;
                }
        } else {
                cmd->dataseg[0].d_base = 0;