Home
last modified time | relevance | path

Searched hist:"440 f62bf" (Results 1 – 1 of 1) sorted by relevance

/openbmc/intel-ipmi-oem/src/
H A Doemcommands.cpp440f62bf Thu Jul 15 17:00:37 CDT 2021 Manish Baing <manish.baing@intel.com> Reset ChannelInfo before calling getChannelInfo()

chInfo is initialized with '0' in statement 'ChannelInfo chInfo{};'
This is to make sure even if getChannelInfo function fails to update
chInfo,un-initialized/previous chInfo data will not be used for
further execution in function ipmiOEMSetUser2Activation.

Tested:
By printing structure chInfo for each IPMI channel
before calling getChannelInfo function, we observed that
'chInfo' structure intialized with zeroes for each IPMI channel.

Signed-off-by: Manish Baing <manish.baing@intel.com>
Change-Id: I0fcfabd30d05f4d360758cff31bb98fff01c5f7e