Signed-off-by: Hal Rosenstock <[email protected]> --- diff --git a/opensm/opensm/osm_inform.c b/opensm/opensm/osm_inform.c index 6763a2a..f0dab30 100644 --- a/opensm/opensm/osm_inform.c +++ b/opensm/opensm/osm_inform.c @@ -326,8 +326,6 @@ static ib_api_status_t __osm_send_report(IN osm_infr_t * p_infr_rec, /* the info p_infr_rec->h_bind, MAD_BLOCK_SIZE, &(p_infr_rec->report_addr)); - p_report_madw->resp_expected = TRUE; - if (!p_report_madw) { OSM_LOG(p_log, OSM_LOG_ERROR, "ERR 0203" "osm_mad_pool_get failed\n"); @@ -335,6 +333,8 @@ static ib_api_status_t __osm_send_report(IN osm_infr_t * p_infr_rec, /* the info goto Exit; } + p_report_madw->resp_expected = TRUE; + /* advance trap trans id (cant simply ++ on some systems inside ntoh) */ p_mad = osm_madw_get_mad_ptr(p_report_madw); ib_mad_init_new(p_mad, IB_MCLASS_SUBN_ADM, 2, IB_MAD_METHOD_REPORT, _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
