summaryrefslogtreecommitdiffstats
path: root/user_channel
diff options
context:
space:
mode:
authorRichard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>2018-12-08 17:22:53 +0530
committerRichard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>2018-12-18 05:36:49 +0000
commit43cb12895039d972e640b992bacf9c13146876ee (patch)
treecf04187194002b9f328ae04f17e17d73f23b076b /user_channel
parent02710bb19487b482f73e9eff81f3cc5621254db5 (diff)
downloadphosphor-host-ipmid-43cb12895039d972e640b992bacf9c13146876ee.tar.gz
phosphor-host-ipmid-43cb12895039d972e640b992bacf9c13146876ee.zip
Refer SMS as regular KCS channel
As per the default channel_config.json under phosphor-ipmi-config channel 0xF (KCS) is referred as SMS, and the same has to be used in the code. Unit test: Verifiy that when channel number 0xE is specified for KCS, it is getting converted to 0xF(SMS) as expected. Change-Id: I169d7b42f5ceed3bd46c84e9798b7a3f676b8604 Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'user_channel')
-rw-r--r--user_channel/channel_mgmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_channel/channel_mgmt.cpp b/user_channel/channel_mgmt.cpp
index 7d93e0d..3a9e2cf 100644
--- a/user_channel/channel_mgmt.cpp
+++ b/user_channel/channel_mgmt.cpp
@@ -108,7 +108,7 @@ static std::unordered_map<std::string, EChannelMediumType> mediumTypeMap = {
{"unknown", EChannelMediumType::unknown}};
static std::unordered_map<EInterfaceIndex, std::string> interfaceMap = {
- {interfaceKCS, "KCS"},
+ {interfaceKCS, "SMS"},
{interfaceLAN1, "LAN1"},
{interfaceUnknown, "unknown"}};
OpenPOWER on IntegriCloud