[WSD] Use correct CQ thread info structure when cleaning up.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 4 Jun 2006 18:40:07 +0000 (18:40 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 4 Jun 2006 18:40:07 +0000 (18:40 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@371 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/wsd/user/ibsp_pnp.c

index df7b4e4..c1686b2 100644 (file)
@@ -178,7 +178,7 @@ pnp_ca_remove(
                        break;\r
 \r
                cl_spinlock_release( &hca->cq_lock );\r
-               ib_destroy_cq_tinfo( hca->cq_tinfo );\r
+               ib_destroy_cq_tinfo( p_cq_tinfo );\r
                cl_spinlock_acquire( &hca->cq_lock );\r
        }\r
        cl_spinlock_release( &hca->cq_lock );\r