diff options
Diffstat (limited to 'src/qmi-firmware-update/qfu-qdl-device.c')
-rw-r--r-- | src/qmi-firmware-update/qfu-qdl-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmi-firmware-update/qfu-qdl-device.c b/src/qmi-firmware-update/qfu-qdl-device.c index d045ad9..c90a778 100644 --- a/src/qmi-firmware-update/qfu-qdl-device.c +++ b/src/qmi-firmware-update/qfu-qdl-device.c @@ -413,7 +413,7 @@ receive_response (QfuQdlDevice *self, unframed_size = hdlc_unframe (self->priv->buffer->data, frame_size, self->priv->secondary_buffer->data, self->priv->secondary_buffer->len, error); if (unframed_size == 0) { g_prefix_error (error, "error unframing message: "); - return FALSE; + return -1; } /* Debug output */ |