diff options
author | Dan Williams <dcbw@redhat.com> | 2010-01-19 14:35:48 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-01-19 14:35:48 -0800 |
commit | 564d054e8e52e154dbf9996d5efc53260d4f3e09 (patch) | |
tree | dec8d802c4c9a8ef5d9ec5bd405a672093508d2b | |
parent | c6694a06b546d04a528a3e97c7d1ff696a3c2756 (diff) |
cdma: increase data call initiation timeout
Some cards (Novatel S720 for example) can take a long time to start
a data call if the device isn't activated on the network or the
signal strength is low.
-rw-r--r-- | src/mm-generic-cdma.c | 2 | ||||
-rwxr-xr-x | test/mm-test.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-generic-cdma.c b/src/mm-generic-cdma.c index e3c6004f..7b8dd49d 100644 --- a/src/mm-generic-cdma.c +++ b/src/mm-generic-cdma.c @@ -596,7 +596,7 @@ connect (MMModem *modem, info = mm_callback_info_new (modem, callback, user_data); command = g_strconcat ("DT", number, NULL); - mm_serial_port_queue_command (priv->primary, command, 60, dial_done, info); + mm_serial_port_queue_command (priv->primary, command, 90, dial_done, info); g_free (command); } diff --git a/test/mm-test.py b/test/mm-test.py index a0af8419..99a355f1 100755 --- a/test/mm-test.py +++ b/test/mm-test.py @@ -83,7 +83,7 @@ def cdma_connect(proxy, user, password): # Modem.Simple interface simple = dbus.Interface(proxy, dbus_interface=MM_DBUS_INTERFACE_MODEM_SIMPLE) try: - simple.Connect({'number':"#777"}, timeout=60) + simple.Connect({'number':"#777"}, timeout=92) print "\nConnected!" return True except Exception, e: |