summaryrefslogtreecommitdiff
path: root/src/qmi-firmware-update/qfu-utils.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-01-16 18:53:18 +0100
committerAleksander Morgado <aleksander@aleksander.es>2017-01-16 22:16:38 +0100
commitd39f6975aedaa1befd07ea5d71249a8885f28dc6 (patch)
tree3d7040175d4faf7c510a274a44e9b0b90e54b716 /src/qmi-firmware-update/qfu-utils.c
parent0c9688c28e7341e6f15f58398b1246a0491907b5 (diff)
qmi-firmware-update: use SYNC flag when opening device
So that we reset any existing client ids.
Diffstat (limited to 'src/qmi-firmware-update/qfu-utils.c')
-rw-r--r--src/qmi-firmware-update/qfu-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmi-firmware-update/qfu-utils.c b/src/qmi-firmware-update/qfu-utils.c
index 14b19b7..f4b5707 100644
--- a/src/qmi-firmware-update/qfu-utils.c
+++ b/src/qmi-firmware-update/qfu-utils.c
@@ -483,7 +483,7 @@ qmi_device_ready (GObject *source,
{
NewClientDmsContext *ctx;
GError *error = NULL;
- QmiDeviceOpenFlags flags = QMI_DEVICE_OPEN_FLAGS_NONE;
+ QmiDeviceOpenFlags flags = QMI_DEVICE_OPEN_FLAGS_SYNC;
ctx = (NewClientDmsContext *) g_task_get_task_data (task);