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.cpp | |
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.cpp')
-rw-r--r-- | user_channel/user_layer.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/user_channel/user_layer.cpp b/user_channel/user_layer.cpp index 30aa12c..4dfed1f 100644 --- a/user_channel/user_layer.cpp +++ b/user_channel/user_layer.cpp @@ -62,11 +62,6 @@ bool ipmiUserIsValidUserId(const uint8_t userId) return UserAccess::isValidUserId(userId); } -bool ipmiUserIsValidChannel(const uint8_t chNum) -{ - return UserAccess::isValidChannel(chNum); -} - bool ipmiUserIsValidPrivilege(const uint8_t priv) { return UserAccess::isValidPrivilege(priv); |