[PATCH] Increase connect timeout for Icera



I'm still investigating why it sometimes takes so long to connect. This doesn't seem to happen with a Gobi 2000 modem.

Eric
From c5a5b9b626ddcb638a999946a037bfddc93b9b1a Mon Sep 17 00:00:00 2001
From: Eric Shienbrood <ers google com>
Date: Wed, 15 Jun 2011 13:55:20 -0400
Subject: [PATCH] Increase connect timeout from 30 to 60 seconds in Icera plugin.

Connect times of longer than 30 seconds have been seen on the Samsung
Y3300 when connecting to the AT&T network.
---
 plugins/mm-modem-icera.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/mm-modem-icera.c b/plugins/mm-modem-icera.c
index 8933142..37e40f9 100644
--- a/plugins/mm-modem-icera.c
+++ b/plugins/mm-modem-icera.c
@@ -541,7 +541,7 @@ icera_connected (MMAtSerialPort *port,
             g_source_remove (priv->connect_pending_id);
 
         priv->connect_pending_data = info;
-        priv->connect_pending_id = g_timeout_add_seconds (30, icera_connect_timed_out, self);
+        priv->connect_pending_id = g_timeout_add_seconds (60, icera_connect_timed_out, self);
     }
 }
 
-- 
1.7.3.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]