aboutsummaryrefslogtreecommitdiff
path: root/plugins/mm-modem-hso.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mm-modem-hso.c')
-rw-r--r--plugins/mm-modem-hso.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/mm-modem-hso.c b/plugins/mm-modem-hso.c
index e3d4dce..5d4201c 100644
--- a/plugins/mm-modem-hso.c
+++ b/plugins/mm-modem-hso.c
@@ -778,7 +778,12 @@ grab_port (MMModem *modem,
goto out;
if (MM_IS_AT_SERIAL_PORT (port)) {
- g_object_set (G_OBJECT (port), MM_SERIAL_PORT_SEND_DELAY, (guint64) 0, NULL);
+ g_object_set (G_OBJECT (port),
+ MM_SERIAL_PORT_SEND_DELAY, (guint64) 0,
+ /* built-in echo removal conflicts with unsolicited _OWANCALL
+ * messages, which are not <CR><LF> prefixed. */
+ MM_AT_SERIAL_PORT_REMOVE_ECHO, FALSE,
+ NULL);
if (ptype == MM_PORT_TYPE_PRIMARY) {
GRegex *regex;
@@ -854,4 +859,3 @@ mm_modem_hso_class_init (MMModemHsoClass *klass)
gsm_class->get_allowed_mode = get_allowed_mode;
gsm_class->get_access_technology = get_access_technology;
}
-