aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-06-09 17:46:16 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-02-17 13:25:03 +0100
commitc0f390470ea3644b03b15defe33b0b237bd6a9c9 (patch)
treedbb44bbc90ff06961215e368ed10e6c070ebc709
parent920fefa8e2c7660422a23d79fa45f7cd488e5198 (diff)
iridium: allow up to 200s to configure IP
-rw-r--r--plugins/mm-modem-iridium-gsm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/mm-modem-iridium-gsm.c b/plugins/mm-modem-iridium-gsm.c
index 66358d0c..9798c531 100644
--- a/plugins/mm-modem-iridium-gsm.c
+++ b/plugins/mm-modem-iridium-gsm.c
@@ -70,7 +70,12 @@ mm_modem_iridium_gsm_new (const char *device,
MM_MODEM_PLUGIN, plugin,
MM_MODEM_HW_VID, vendor,
MM_MODEM_HW_PID, product,
+ /* If up to 3 commands get timed out, mark
+ * the modem as removed */
MM_MODEM_BASE_MAX_TIMEOUTS, 3,
+ /* Allow up to 200s to setup the IP configuration
+ * (used by NM when launching pppd) */
+ MM_MODEM_IP_TIMEOUT, 200,
NULL));
}