diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-12-28 10:32:55 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-12-28 10:34:43 +0100 |
commit | eae28e9be4af1bb1d588cfd604eee68a0f2778e7 (patch) | |
tree | 687bd236fd99ce61bebef0b25a9f1ce07b708b87 | |
parent | 35775e3634e2783b808bbce777a6e6565d989abb (diff) | |
download | ModemManager-eae28e9be4af1bb1d588cfd604eee68a0f2778e7.tar.gz |
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 :-/
-rw-r--r-- | plugins/sierra/mm-common-sierra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sierra/mm-common-sierra.c b/plugins/sierra/mm-common-sierra.c index 62b048b95..d0bde95cd 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); |