diff options
author | Marius B. Kotsbak <marius@kotsbak.com> | 2012-10-30 18:01:23 +0100 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-10-30 12:53:25 -0500 |
commit | 26956924b062bed7f1b724376f9e6ee7e89c1e13 (patch) | |
tree | d3be104135129a1fe98f2144d550c2b55c784c8f | |
parent | 120b660fd4824e779b37e16a4e211867c8e34a68 (diff) |
sierra: avoid reset when setting cfun=1
Some Sierra modems trigger a reset of the modem when sending +cfun=1.
All sierra modems supports a second parameter to indicate that no
reset is to be done: "+cfun=1,0".
-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 1af64af4..e76c3667 100644 --- a/plugins/sierra/mm-common-sierra.c +++ b/plugins/sierra/mm-common-sierra.c @@ -115,7 +115,7 @@ get_current_functionality_status_ready (MMBaseModem *self, * Works well if we previously switched off the power with CFUN=4 */ mm_base_modem_at_command (MM_BASE_MODEM (self), - "+CFUN=1", + "+CFUN=1,0", /* ",0" ensures no reset */ 3, FALSE, (GAsyncReadyCallback)full_functionality_status_ready, |