aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2014-07-17 00:19:42 -0700
committerDan Williams <dcbw@redhat.com>2014-07-17 16:09:29 -0500
commit8a56cd4c2a0578ee2a191c89926bb36bb55da80e (patch)
tree51d5553c9570ec2e7405b57c2f05a4b1bd11c1fb
parentc8572c8098d02dfb8102028e055f29d35c878719 (diff)
bearer-mbim: increase disconnect timeout
It's been observed that modems may take a long time to disconnect from the network under certain network conditions. This patch increases the timeout for the MBIM_CID_CONNECT set command in the disconnect sequence from 10s to 30s.
-rw-r--r--src/mm-bearer-mbim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-bearer-mbim.c b/src/mm-bearer-mbim.c
index e4adbb3d..358b261a 100644
--- a/src/mm-bearer-mbim.c
+++ b/src/mm-bearer-mbim.c
@@ -1054,7 +1054,7 @@ disconnect_context_step (DisconnectContext *ctx)
mbim_device_command (ctx->device,
message,
- 10,
+ 30,
NULL,
(GAsyncReadyCallback)disconnect_set_ready,
ctx);