From c42d2caaa7478056c9aeb4ad6a746cae204652fb Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Tue, 16 Dec 2003 23:08:23 +0000 Subject: [PATCH] save channel access command to nvram as well as volatile ram --- ipmitool/lib/ipmi_lanp.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ipmitool/lib/ipmi_lanp.c b/ipmitool/lib/ipmi_lanp.c index ee8f259..4599fc9 100644 --- a/ipmitool/lib/ipmi_lanp.c +++ b/ipmitool/lib/ipmi_lanp.c @@ -532,6 +532,14 @@ ipmi_set_channel_access(struct ipmi_intf * intf, unsigned char channel, unsigned return -1; } + rqdata[1] = 0x60; /* save to nvram */ + rsp = intf->sendrecv(intf, &req); + if (!rsp || rsp->ccode) { + printf("Error:%x Set Channel Access Command (0x%x)\n", + rsp ? rsp->ccode : 0, channel); + return -1; + } + return 0; }