]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[WSD] Return proper status from PnP callback. Returning IB_SUCCESS
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 27 Apr 2006 00:11:04 +0000 (00:11 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 27 Apr 2006 00:11:04 +0000 (00:11 +0000)
in a failure case can result in the PnP callback being invoked with
a NULL context.

git-svn-id: svn://openib.tc.cornell.edu/gen1@330 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/ulp/wsd/user/ibsp_pnp.c

index 9b033e8b935d476654c36876f440241a208f18e9..df7b4e4a8402c6769d0bcd2d2787ce8b3aa14f36 100644 (file)
@@ -350,7 +350,7 @@ pnp_callback(
 \r
        IBSP_EXIT( IBSP_DBG_HW );\r
 \r
-       return IB_SUCCESS;\r
+       return status;\r
 }\r
 \r
 \r