summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2014-03-04 00:17:34 -0800
committerAleksander Morgado <aleksander@aleksander.es>2014-03-04 19:27:19 +0100
commit4a5a0197b5ae170575bc816ecaefc77ea6c057b4 (patch)
tree53036f91fcef085defed75d11b4cb14074de1877
parentf3ded99af1c296781a564c4539b351db93ad0a59 (diff)
port-mbim: increase timeout of device open operation
A MBIM device typically delays its response to an 'Open' command when it has not completed the initialization process. This patch increases the timeout of the MBIM device open operation from 10s to 30s to handle situations where the device takes much longer to initialize.
-rw-r--r--src/mm-port-mbim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-port-mbim.c b/src/mm-port-mbim.c
index 28b1afc4..4b85ac36 100644
--- a/src/mm-port-mbim.c
+++ b/src/mm-port-mbim.c
@@ -111,7 +111,7 @@ mbim_device_new_ready (GObject *unused,
/* Now open the MBIM device */
mbim_device_open (ctx->self->priv->mbim_device,
- 10,
+ 30,
ctx->cancellable,
(GAsyncReadyCallback)mbim_device_open_ready,
ctx);