[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/trunk@330 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/wsd/user/ibsp_pnp.c

index 9b033e8..df7b4e4 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