[PATCH 2/5] hso: use a 60s timeout to wait for connection unsolicited messages

Aleksander Morgado aleksander at aleksander.es
Tue Nov 21 18:24:37 UTC 2017


Same amount of time as in the Icera plugin.
---
 plugins/option/mm-broadband-bearer-hso.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/option/mm-broadband-bearer-hso.c b/plugins/option/mm-broadband-bearer-hso.c
index 429a11ed..2e2b9364 100644
--- a/plugins/option/mm-broadband-bearer-hso.c
+++ b/plugins/option/mm-broadband-bearer-hso.c
@@ -433,7 +433,7 @@ activate_ready (MMBaseModem          *modem,
      * Reports of modem being connected will arrive via unsolicited messages.
      * This timeout should be long enough. Actually... ideally should never get
      * reached. */
-    self->priv->connect_pending_id = g_timeout_add_seconds (30,
+    self->priv->connect_pending_id = g_timeout_add_seconds (60,
                                                             (GSourceFunc)connect_timed_out_cb,
                                                             self);
 
-- 
2.15.0



More information about the ModemManager-devel mailing list