From 958f1ce952849300ebfd30cc04ce86937d3bc718 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Fri, 31 May 2019 17:07:25 -0700 Subject: ipmi: pull the netfn and command into parameters Pull the netfn and cmd into parameters instead of hard-coding them for blob commands. Tested: Only ran unit-tests. Change-Id: I1a73de32e14cc78ece94a26f6c447824af88c984 Signed-off-by: Patrick Venture --- src/ipmiblob/blob_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipmiblob/blob_handler.cpp') diff --git a/src/ipmiblob/blob_handler.cpp b/src/ipmiblob/blob_handler.cpp index 039b7e0..6adbe89 100644 --- a/src/ipmiblob/blob_handler.cpp +++ b/src/ipmiblob/blob_handler.cpp @@ -67,7 +67,7 @@ std::vector try { - reply = ipmi->sendPacket(request); + reply = ipmi->sendPacket(ipmiOEMNetFn, ipmiOEMBlobCmd, request); } catch (const IpmiException& e) { -- cgit v1.2.1