Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
[linux-2.6-block.git] / drivers / infiniband / hw / qib / qib_uc.c
index 70c58b88192c998cea23795b2af24bc22e2aad10..840eec6ebc33b6f749352e766b88f2e4487c6167 100644 (file)
@@ -401,8 +401,7 @@ last_imm:
                wc.port_num = 0;
                /* Signal completion event if the solicited bit is set. */
                rvt_cq_enter(ibcq_to_rvtcq(qp->ibqp.recv_cq), &wc,
-                            (ohdr->bth[0] &
-                               cpu_to_be32(IB_BTH_SOLICITED)) != 0);
+                            ib_bth_is_solicited(ohdr));
                break;
 
        case OP(RDMA_WRITE_FIRST):