Change the NetFn for Partial Add eSEL command
Change-Id: I21a718636c54ca531b85048bcb45f7add77c9196
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/oemhandler.cpp b/oemhandler.cpp
index aba86e3..c49c721 100644
--- a/oemhandler.cpp
+++ b/oemhandler.cpp
@@ -151,8 +151,8 @@
void register_netfn_oem_partial_esel()
{
- printf("Registering NetFn:[0x%X], Cmd:[0x%X]\n",NETFUN_OEM, IPMI_CMD_PESEL);
- ipmi_register_callback(NETFUN_OEM, IPMI_CMD_PESEL, NULL, ipmi_ibm_oem_partial_esel,
+ printf("Registering NetFn:[0x%X], Cmd:[0x%X]\n",NETFUN_IBM_OEM, IPMI_CMD_PESEL);
+ ipmi_register_callback(NETFUN_IBM_OEM, IPMI_CMD_PESEL, NULL, ipmi_ibm_oem_partial_esel,
SYSTEM_INTERFACE);
printf("Registering NetFn:[0x%X], Cmd:[0x%X]\n", NETFUN_OEM, IPMI_CMD_PREP_FW_UPDATE);