]> git.openfabrics.org - ~shefty/rdma-win.git/commit
libibumad: fix setting mgmt_version when registering
authorSean Hefty <sean.hefty@intel.com>
Fri, 26 Mar 2010 19:48:13 +0000 (12:48 -0700)
committerSean Hefty <sean.hefty@intel.com>
Fri, 26 Mar 2010 19:48:13 +0000 (12:48 -0700)
commitbf4ab58dbec1bbd9ed4092cd86ae217df80a0d9f
tree579738106348ee09a55e96b35eb8a30ba7cfccb6
parent3e74b35f9cf02541669611d5270a05f8151272df
libibumad: fix setting mgmt_version when registering

umad_register takes as input the mgmt_version, but loses that information
when it calls umad_register_oui internally.  The result is that the
mgmt_version gets set to 1, which is wrong for opensm support.

Fixup umad_register to set the mgmt_version correctly.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
trunk/ulp/libibumad/src/umad.cpp