]> git.openfabrics.org - ~shefty/libibverbs.git/commitdiff
Refresh of xrc_qp
authorSean Hefty <sean.hefty@intel.com>
Tue, 18 Sep 2012 04:30:59 +0000 (21:30 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 18 Sep 2012 04:30:59 +0000 (21:30 -0700)
src/cmd.c

index 7dc578a90d35618d77c30d4de3ae32d3c007680f..db9a3d83637262ac30d23490e2d18a7b009cc03a 100644 (file)
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -645,9 +645,9 @@ int ibv_cmd_create_qp_ex(struct ibv_pd *pd,
        } else {
                context         = pd->context;
                cmd->pd_handle  = pd->handle;
-               cmd->send_cq_handle = attr->send_cq->handle;
+               cmd->send_cq_handle = attr_ex->send_cq->handle;
 
-               if (attr->qp_type != IBV_QPT_XRC_SEND) {
+               if (attr_ex->qp_type != IBV_QPT_XRC_SEND) {
                        cmd->recv_cq_handle = attr_ex->recv_cq->handle;
                        cmd->srq_handle = attr_ex->srq ? attr->srq->handle : 0;
                }