summaryrefslogtreecommitdiff
path: root/src/qmi-firmware-update/qfu-updater.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-01-16 21:25:03 +0100
committerAleksander Morgado <aleksander@aleksander.es>2017-01-16 22:16:38 +0100
commit2e50146039089c61e11cea2f7c9b4125df4bfe19 (patch)
treeddfe8937de59ed7b8346268c644ef2e63f34a4af /src/qmi-firmware-update/qfu-updater.h
parentfc76dd4c2c01453eecffa5062bffeb9eb42985ea (diff)
qmi-firmware-update: new --override-download option
The Set Firmware Preference command may return an empty list of images to be downloaded. If that happens and we just power cycle, we won't get into QDL download mode, the module will just apply the new firmware selection preference. With the new --override-download option, we tell the module that even if we already have the images, we want to perform the download. This option doesn't apply to older SWI9200 devices as these don't have any firmware preference setting. The option is implicit for these devices, though, the download always happens.
Diffstat (limited to 'src/qmi-firmware-update/qfu-updater.h')
-rw-r--r--src/qmi-firmware-update/qfu-updater.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmi-firmware-update/qfu-updater.h b/src/qmi-firmware-update/qfu-updater.h
index 05b0631..f8c98bf 100644
--- a/src/qmi-firmware-update/qfu-updater.h
+++ b/src/qmi-firmware-update/qfu-updater.h
@@ -57,6 +57,7 @@ QfuUpdater *qfu_updater_new (QfuDeviceSelection *device_selection,
gboolean device_open_proxy,
gboolean device_open_mbim,
gboolean ignore_version_errors,
+ gboolean override_download,
gboolean skip_validation);
QfuUpdater *qfu_updater_new_qdl (QfuDeviceSelection *device_selection);
void qfu_updater_run (QfuUpdater *self,