Fix place of debug message to help in tracking mads down.
authoreitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 16 Oct 2005 07:33:18 +0000 (07:33 +0000)
committereitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 16 Oct 2005 07:33:18 +0000 (07:33 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@117 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/opensm/user/libvendor/osm_vendor_al.c

index c75ce1b..2607d5b 100644 (file)
@@ -341,6 +341,10 @@ __osm_al_rcv_callback(
            cl_ntoh64(p_elem->p_mad_buf->trans_id));
            */
   p_new_mad = ib_get_mad_buf( p_elem );
+  osm_log( p_vend->p_log, OSM_LOG_DEBUG,
+           "__osm_al_rcv_callback: "
+           "Acquired implicitly MAD %p.\n", p_new_mad );
+
   /*
     In preperation for initializing the new mad wrapper,
     Initialize the mad_addr structure for the received wire MAD.
@@ -382,10 +386,6 @@ __osm_al_rcv_callback(
     */
     osm_log( p_vend->p_log, OSM_LOG_DEBUG,
              "__osm_al_rcv_callback: "
-             "Acquired implicitly MAD %p.\n", p_new_mad );
-
-    osm_log( p_vend->p_log, OSM_LOG_DEBUG,
-               "__osm_al_rcv_callback: "
                "The Mad is a response , thus handeled in __osm_al_send_callback\n");
     CL_ASSERT( p_elem->send_context1 != NULL );
     CL_ASSERT( p_elem->send_context2 == NULL );