transporthandler: Return "not supported" on missing UART Baud property
This change modifies the behavior of the getSolConfParams method for the
NonVbitrate parameter to return "not supported" rather than "unspecified
error". This allows `ipmitool` to continue rather than fail.
Signed-off-by: Oskar Senft <osk@google.com>
Change-Id: I2e5a852d39c7625009c08dcfc9f48cc21a1804a0
diff --git a/transporthandler.cpp b/transporthandler.cpp
index 7218da9..9b59a8c 100644
--- a/transporthandler.cpp
+++ b/transporthandler.cpp
@@ -1684,7 +1684,7 @@
"/xyz/openbmc_project/console/default",
"xyz.openbmc_project.Console.UART", "Baud", baudRate))
{
- return ipmi::responseUnspecifiedError();
+ return response(ccParamNotSupported);
}
switch (baudRate)
{