stephb9959
2023-07-18 14:14:53 -07:00
parent 329dfbbcde
commit ba01cfa02b

View File

@@ -29,6 +29,7 @@ namespace OpenWifi {
inline bool DeviceMustUpgrade([[maybe_unused]] std::string &deviceType,
[[maybe_unused]] const std::string &firmware_string,
[[maybe_unused]] GWObjects::DefaultFirmware &Firmware) {
return false;
if(StorageService()->GetDefaultFirmware(deviceType,Firmware)) {
std::string key{ deviceType + Firmware.revision };