diff options
author | Dan Williams <dcbw@redhat.com> | 2010-12-30 16:43:04 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-12-30 16:43:04 -0600 |
commit | adcc29fa6b62a86eb8d595a2836c3ea833b86af9 (patch) | |
tree | 93affe2b447cfab8bb4ccfd7a15983eb2753f8dd /plugins/mm-modem-zte.c | |
parent | 05d4876b20a6fa03421c77de53b74d1b81e5ea5f (diff) |
zte: really shut the device up
The MF691 appears to ignore E0 on the same line as some other stuff,
so really shut it up by sending E0 by itself.
Diffstat (limited to 'plugins/mm-modem-zte.c')
-rw-r--r-- | plugins/mm-modem-zte.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mm-modem-zte.c b/plugins/mm-modem-zte.c index 558260ec..9571d639 100644 --- a/plugins/mm-modem-zte.c +++ b/plugins/mm-modem-zte.c @@ -325,6 +325,8 @@ init_modem_done (MMAtSerialPort *port, { MMCallbackInfo *info = (MMCallbackInfo *) user_data; + mm_at_serial_port_queue_command (port, "E0", 5, NULL, NULL); + /* Attempt to disable floods of "+ZUSIMR:2" unsolicited responses that * eventually fill up the device's buffers and make it crash. Normally * done during probing, but if the device has a PIN enabled it won't |