diff options
author | André Draszik <git@andred.net> | 2017-02-07 11:26:50 +0000 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2017-02-07 10:58:07 -0600 |
commit | 177e39e44b8845babd014216e90569e8afeac610 (patch) | |
tree | d247e037a6ca7b4a7a56dff9435d05e984f47644 /plugins/telit.c | |
parent | 61453d8688dec2f6488c914c22e9570b2cf8a868 (diff) | |
download | ofono-177e39e44b8845babd014216e90569e8afeac610.tar.gz |
plugins: telit: send AT&C0 on both channels
At least firmware version 12.00.405 on the UE910-EUR otherwise
closes the AT command port whenever the PPP connection is
dropped, and we'd be left in a funny state.
Diffstat (limited to 'plugins/telit.c')
-rw-r--r-- | plugins/telit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/telit.c b/plugins/telit.c index 4ba8e483..19898f95 100644 --- a/plugins/telit.c +++ b/plugins/telit.c @@ -251,9 +251,10 @@ static void cfun_enable_cb(gboolean ok, GAtResult *result, gpointer user_data) /* * Switch data carrier detect signal off. * When the DCD is disabled the modem does not hangup anymore - * after the data connection. + * after the data connection. We need to do that on both channels. */ g_at_chat_send(data->chat, "AT&C0", NULL, NULL, NULL, NULL); + g_at_chat_send(data->modem, "AT&C0", NULL, NULL, NULL, NULL); data->have_sim = FALSE; data->sms_phonebook_added = FALSE; |