mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
Use fw_upgrade_keep_settings option for 6 Stored images
This commit is contained in:
parent
80c19b440a
commit
12c5a6ff4b
1 changed files with 1 additions and 0 deletions
|
|
@ -387,6 +387,7 @@ int cwmp_apply_multiple_firmware()
|
|||
bb_add_string(&b, "path", FIRMWARE_UPGRADE_IMAGE);
|
||||
blobmsg_add_u8(&b, "auto_activate", false);
|
||||
blobmsg_add_u32(&b, "bank", bank_id);
|
||||
blobmsg_add_u8(&b, "keep_settings", cwmp_main->conf.fw_upgrade_keep_settings);
|
||||
|
||||
e = icwmp_ubus_invoke("fwbank", "upgrade", b.head, NULL, NULL);
|
||||
blob_buf_free(&b);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue