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 :-/
This commit is contained in:
Aleksander Morgado
2012-12-28 10:32:55 +01:00
parent 35775e3634
commit eae28e9be4

View File

@@ -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);