From c0f390470ea3644b03b15defe33b0b237bd6a9c9 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 9 Jun 2011 17:46:16 +0200 Subject: [PATCH] iridium: allow up to 200s to configure IP --- plugins/mm-modem-iridium-gsm.c | 5 +++++ 1 file changed, 5 insertions(+) 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)); }