~ubuntu-branches/ubuntu/wily/linux-ti-omap4/wily

« back to all changes in this revision

Viewing changes to drivers/scsi/qla2xxx/tcm_qla2xxx.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2013-07-11 18:35:20 UTC
  • Revision ID: package-import@ubuntu.com-20130711183520-htnf1x4y5r11hndr
Tags: 3.5.0-229.42
* Release Tracking Bug
  - LP: #1199276

[ Paolo Pisati ]

* [Config] CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
702
702
                 * For FCP_READ with CHECK_CONDITION status, clear cmd->bufflen
703
703
                 * for qla_tgt_xmit_response LLD code
704
704
                 */
 
705
                if (se_cmd->se_cmd_flags & SCF_OVERFLOW_BIT) {
 
706
                        se_cmd->se_cmd_flags &= ~SCF_OVERFLOW_BIT;
 
707
                        se_cmd->residual_count = 0;
 
708
                }
705
709
                se_cmd->se_cmd_flags |= SCF_UNDERFLOW_BIT;
706
 
                se_cmd->residual_count = se_cmd->data_length;
 
710
                se_cmd->residual_count += se_cmd->data_length;
707
711
 
708
712
                cmd->bufflen = 0;
709
713
        }