From 8a56cd4c2a0578ee2a191c89926bb36bb55da80e Mon Sep 17 00:00:00 2001 From: Ben Chan Date: Thu, 17 Jul 2014 00:19:42 -0700 Subject: [PATCH] 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. --- src/mm-bearer-mbim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);