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 <venture@google.com>
diff --git a/src/ipmiblob/ipmi_handler.hpp b/src/ipmiblob/ipmi_handler.hpp
index 34177ae..21d0fc7 100644
--- a/src/ipmiblob/ipmi_handler.hpp
+++ b/src/ipmiblob/ipmi_handler.hpp
@@ -37,7 +37,8 @@
* @throws IpmiException on failure.
*/
std::vector<std::uint8_t>
- sendPacket(std::vector<std::uint8_t>& data) override;
+ sendPacket(std::uint8_t netfn, std::uint8_t cmd,
+ std::vector<std::uint8_t>& data) override;
private:
const internal::Sys* sys;