From eae28e9be4af1bb1d588cfd604eee68a0f2778e7 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 28 Dec 2012 10:32:55 +0100 Subject: [PATCH] sierra: wait up to 10s for the power up command reply Specially the first time that CFUN=1,0 is issued after the initial power up, we really need to wait more than 3s for the AT command reply. Otherwise, the modem won't like it and it will reset itself :-/ --- plugins/sierra/mm-common-sierra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sierra/mm-common-sierra.c b/plugins/sierra/mm-common-sierra.c index 62b048b9..d0bde95c 100644 --- a/plugins/sierra/mm-common-sierra.c +++ b/plugins/sierra/mm-common-sierra.c @@ -118,7 +118,7 @@ get_current_functionality_status_ready (MMBaseModem *self, */ mm_base_modem_at_command (MM_BASE_MODEM (self), "+CFUN=1,0", /* ",0" ensures no reset */ - 3, + 10, FALSE, (GAsyncReadyCallback)full_functionality_status_ready, simple);