[infiniband] Centralise SMA and GMA queue constants

This commit is contained in:
Michael Brown
2009-07-17 23:06:33 +01:00
parent 887d296b88
commit 365b8db5cf
5 changed files with 23 additions and 20 deletions
+1 -1
View File
@@ -460,7 +460,7 @@ int ib_create_sma ( struct ib_sma *sma, struct ib_device *ibdev,
ib_qp_set_ownerdata ( sma->qp, sma );
/* If we don't get QP0, we can't function */
if ( sma->qp->qpn != IB_QPN_SMP ) {
if ( sma->qp->qpn != IB_QPN_SMA ) {
DBGC ( sma, "SMA %p on QPN %lx, needs to be on QPN 0\n",
sma, sma->qp->qpn );
rc = -ENOTSUP;