diff mbox

[TRIVIAL] opensm: fix default cc_max_outstanding_mads assignment

Message ID 20120826121910.GA26159@calypso (mailing list archive)
State Accepted
Delegated to: Alex Netes
Headers show

Commit Message

Alex Netes Aug. 26, 2012, 12:19 p.m. UTC
Should be: OSM_CC_DEFAULT_MAX_OUTSTANDING_QUERIES instead of
OSM_PERFMGR_DEFAULT_MAX_OUTSTANDING_QUERIES

Signed-off-by: Alex Netes <alexne@mellanox.com>
---
 opensm/osm_subnet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/opensm/osm_subnet.c b/opensm/osm_subnet.c
index 195adb8..b9a491b 100644
--- a/opensm/osm_subnet.c
+++ b/opensm/osm_subnet.c
@@ -1520,7 +1520,7 @@  void osm_subn_set_default_opt(IN osm_subn_opt_t * p_opt)
 	p_opt->exit_on_fatal = TRUE;
 	p_opt->congestion_control = FALSE;
 	p_opt->cc_key = OSM_DEFAULT_CC_KEY;
-	p_opt->cc_max_outstanding_mads = OSM_PERFMGR_DEFAULT_MAX_OUTSTANDING_QUERIES;
+	p_opt->cc_max_outstanding_mads = OSM_CC_DEFAULT_MAX_OUTSTANDING_QUERIES;
 	p_opt->enable_quirks = FALSE;
 	p_opt->no_clients_rereg = FALSE;
 	p_opt->prefix_routes_file = strdup(OSM_DEFAULT_PREFIX_ROUTES_FILE);