aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/hw/cxgb4/qp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c
index 76a286f88edd..ff04e5cc28ce 100644
--- a/drivers/infiniband/hw/cxgb4/qp.c
+++ b/drivers/infiniband/hw/cxgb4/qp.c
@@ -639,7 +639,7 @@ int c4iw_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
639 fw_opcode = FW_RI_RDMA_READ_WR; 639 fw_opcode = FW_RI_RDMA_READ_WR;
640 swsqe->opcode = FW_RI_READ_REQ; 640 swsqe->opcode = FW_RI_READ_REQ;
641 if (wr->opcode == IB_WR_RDMA_READ_WITH_INV) 641 if (wr->opcode == IB_WR_RDMA_READ_WITH_INV)
642 fw_flags |= FW_RI_RDMA_READ_INVALIDATE; 642 fw_flags = FW_RI_RDMA_READ_INVALIDATE;
643 else 643 else
644 fw_flags = 0; 644 fw_flags = 0;
645 err = build_rdma_read(wqe, wr, &len16); 645 err = build_rdma_read(wqe, wr, &len16);