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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user