diff options
author | vishwa <vishwanath@in.ibm.com> | 2015-12-02 10:35:13 -0600 |
---|---|---|
committer | vishwa <vishwanath@in.ibm.com> | 2015-12-02 10:35:13 -0600 |
commit | f3ca35258caec338c72972559ca6b20a2df920f1 (patch) | |
tree | be0ab7efe3fc26eabe54de385b3daf94a5335fc2 /strgfnhandler.C | |
parent | 20656b1e15bebd7bc2754bd680f045e253bd2809 (diff) | |
download | ipmi-fru-parser-f3ca35258caec338c72972559ca6b20a2df920f1.tar.gz ipmi-fru-parser-f3ca35258caec338c72972559ca6b20a2df920f1.zip |
set present status True after updating inventory
Diffstat (limited to 'strgfnhandler.C')
-rw-r--r-- | strgfnhandler.C | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/strgfnhandler.C b/strgfnhandler.C index 28406de..a00688f 100644 --- a/strgfnhandler.C +++ b/strgfnhandler.C @@ -85,9 +85,13 @@ ipmi_ret_t ipmi_storage_write_fru_data(ipmi_netfn_t netfn, ipmi_cmd_t cmd, // Get the reference to global sd_bus object sd_bus *bus_type = ipmid_get_sd_bus_connection(); + // Do not need to update present status in the inventory. Its only for + // eeprom requirement at this moment. But we may have a need in the future + bool set_present = false; + // We received some bytes. It may be full or partial. Send a valid // FRU file to the inventory controller on DBus for the correct number - ipmi_validate_fru_area(reqptr->frunum, fru_file_name, bus_type); + ipmi_validate_fru_area(reqptr->frunum, fru_file_name, bus_type, set_present); return rc; } |