[AL] update p_size in modify_cq verb
authorsleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 11 Jul 2006 14:58:03 +0000 (14:58 +0000)
committersleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 11 Jul 2006 14:58:03 +0000 (14:58 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@419 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/user/ual_cq.c

index abc7291..2dc2aac 100644 (file)
@@ -276,6 +276,9 @@ ual_modify_cq(
        else\r
        {\r
                status = cq_ioctl.out.status;\r
+               if( status == IB_SUCCESS )\r
+                       *p_size = cq_ioctl.out.size;\r
+\r
        }\r
 \r
        /* Post uvp call */\r