diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-12-08 22:41:59 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-01-16 11:24:15 +0100 |
commit | 6adf441cca962aaf0216d1eae5ecb9f54c4f3493 (patch) | |
tree | 33319931d96dd4130c3e298efde48233eb10c547 /src | |
parent | b9fbe9ba295fc6ea61f6f38fd4f213ab01a8230e (diff) | |
download | external_libqmi-6adf441cca962aaf0216d1eae5ecb9f54c4f3493.zip external_libqmi-6adf441cca962aaf0216d1eae5ecb9f54c4f3493.tar.gz external_libqmi-6adf441cca962aaf0216d1eae5ecb9f54c4f3493.tar.bz2 |
qmi-firmware-update: increase timeout for ACK-ing frame
The last chunk in the MC7455 may take quite some time:
[08 dic 2016, 22:39:18] [Debug] [qfu-image] reading chunk #61
[08 dic 2016, 22:39:18] [Debug] [qfu-image] chunk #61 size: 418062 bytes
[08 dic 2016, 22:39:18] [Debug] [qfu-image] chunk #61 offset: 63963536 bytes
[08 dic 2016, 22:39:18] [Debug] [qfu-image] chunk #61 successfully read
[08 dic 2016, 22:39:18] [Debug] [qfu,qdl-message] sent write-unframed-req:
[08 dic 2016, 22:39:18] [Debug] [qfu,qdl-message] sequence: 61
[08 dic 2016, 22:39:18] [Debug] [qfu,qdl-message] chunk size: 418062
[08 dic 2016, 22:39:18] [Debug] [qfu-qdl-device] >> 27:3D:00:00:00:00:00:0E:61:06:00:CE:63:... [418075]
[08 dic 2016, 22:40:08] [Debug] [qfu-qdl-device] << 7E:28:3D:00:00:00:00:00:00:00:41:6E:7E [13]
[08 dic 2016, 22:40:08] [Debug] [qfu-qdl-device] << 28:3D:00:00:00:00:00:00:00 [9, unframed]
[08 dic 2016, 22:40:08] [Debug] [qfu,qdl-message] received write-unframed-rsp
[08 dic 2016, 22:40:08] [Debug] [qfu,qdl-message] status: 0
[08 dic 2016, 22:40:08] [Debug] [qfu,qdl-message] sequence: 61
Diffstat (limited to 'src')
-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 673546f..aee07fa 100644 --- a/src/qmi-firmware-update/qfu-qdl-device.c +++ b/src/qmi-firmware-update/qfu-qdl-device.c @@ -527,7 +527,7 @@ qfu_qdl_device_ufwrite (QfuQdlDevice *self, /* NOTE: the last chunk will require a long timeout, so just define the * same one for all chunks */ - rsplen = send_receive (self, self->priv->buffer->data, reqlen, FALSE, 60, &rsp, cancellable, error); + rsplen = send_receive (self, self->priv->buffer->data, reqlen, FALSE, 120, &rsp, cancellable, error); if (rsplen < 0) return FALSE; |