diff options
author | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | 2018-12-08 17:38:25 +0530 |
---|---|---|
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | 2018-12-20 00:01:53 +0000 |
commit | 06df8765c586d03211177efd4aa095a5418dbf91 (patch) | |
tree | df9d13a1ae0429f251d0dcc13acbfd6e8062df08 /user_channel/user_layer.hpp | |
parent | f1d0e23b8f133d817896ce1cb2f288aefc61a81f (diff) | |
download | phosphor-host-ipmid-06df8765c586d03211177efd4aa095a5418dbf91.tar.gz phosphor-host-ipmid-06df8765c586d03211177efd4aa095a5418dbf91.zip |
User commands updated to handle channel request
User commands updated to handle channel request properly.
1. Self channel number 0xE will be converted properly as per
the interfaces
2. Will handle commands to set / get access for session based
channels only.
Unit-test:
Verfied get / set user access command works on self-channel
and session based channels accordingly. 0xCC will returned
for session-less channels
Change-Id: I91f610e5a70ba648a90191b7aad6ae09d4e0acdc
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'user_channel/user_layer.hpp')
-rw-r--r-- | user_channel/user_layer.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/user_channel/user_layer.hpp b/user_channel/user_layer.hpp index ce985df..7e8f185 100644 --- a/user_channel/user_layer.hpp +++ b/user_channel/user_layer.hpp @@ -101,14 +101,6 @@ ipmi_ret_t ipmiRenameUserEntryPassword(const std::string& userName, */ bool ipmiUserIsValidUserId(const uint8_t userId); -/** @brief determines valid channel - * - * @param[in] chNum- channel number - * - * @return true if valid, false otherwise - */ -bool ipmiUserIsValidChannel(const uint8_t chNum); - /** @brief determines valid privilege level * * @param[in] priv - privilege level |