]> git.openfabrics.org - ~adrianc/mstflint.git/commitdiff
fixed an issue when checking correctness of TPT settings
authorAdrian Chiris <adrianc@mellanox.com>
Fri, 19 Jun 2015 16:31:20 +0000 (19:31 +0300)
committerAdrian Chiris <adrianc@mellanox.com>
Fri, 19 Jun 2015 16:31:20 +0000 (19:31 +0300)
mlxconfig/mlxcfg_param_lib.cpp

index a8635fefeebdb3aaa8da322fb4c09cb3b83bb7b2..eeccc40729e5aaaf438f8685bcfbd59976e845d2 100644 (file)
@@ -1433,7 +1433,8 @@ u_int32_t TptParams5thGen::getTptCapabilitiesTlvTypeBe()
 bool TptParams5thGen::hardLimitCheck()
 {
     if (_logMaxPayloadSize != 0 && _logMaxPayloadSize != 12) {
-        return errmsg("Illegal LOG_MAX_TPT_PAYLOAD_SIZE parameters value. (should be 0(auto) or 12(4KB))");
+        errmsg("Illegal LOG_MAX_TPT_PAYLOAD_SIZE parameters value. (should be 0(auto) or 12(4KB))");
+        return false;
     }
     return true;
 }