Add channel access mode check for ipmi commands.
Check the channel access mode and reject the
network ipmi commands, if its disabled.
Tested:
- Disabled channel access mode and network
ipmi commands fails over the same lan channel.
#ipmitool raw 0x06 0x40 0x03 0x80 0x44
- Set channel access mode to always available and ipmi
commands works fine over same lan channel.
#ipmitool raw 0x06 0x40 0x03 0x82 0x44
- Set non-volatile channel access mode to disabled,
reset bmc and ipmi commands fails over same lan channel.
#ipmitool raw 0x06 0x40 0x03 0x40 0x44
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
Change-Id: I44da4e8388b56e5ab7be3aa0e5d20b803a984668
1 file changed