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".
This commit is contained in:

committed by
Dan Williams

parent
120b660fd4
commit
26956924b0
@@ -115,7 +115,7 @@ get_current_functionality_status_ready (MMBaseModem *self,
|
|||||||
* Works well if we previously switched off the power with CFUN=4
|
* Works well if we previously switched off the power with CFUN=4
|
||||||
*/
|
*/
|
||||||
mm_base_modem_at_command (MM_BASE_MODEM (self),
|
mm_base_modem_at_command (MM_BASE_MODEM (self),
|
||||||
"+CFUN=1",
|
"+CFUN=1,0", /* ",0" ensures no reset */
|
||||||
3,
|
3,
|
||||||
FALSE,
|
FALSE,
|
||||||
(GAsyncReadyCallback)full_functionality_status_ready,
|
(GAsyncReadyCallback)full_functionality_status_ready,
|
||||||
|
Reference in New Issue
Block a user