[WSD] Use correct CQ thread info structure when cleaning up.
[mirror/winof/.git] / 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