diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-13 19:48:47 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-13 19:48:47 +0100 |
commit | 700469d1cab3c592b9906bec68f9cbf470cb25a5 (patch) | |
tree | efa155cfbd4bf0d2c65e58d5ec0d108203c345d1 | |
parent | 796e3ab45a8e0d5183efd03a7fe166f3e5ef1db1 (diff) |
hso: disable echo removal
Built-in echo removal conflicts with _OWANCALL unsolicited messages, which are
not coming prefixed with <CR><LF>.
Fixes LP#953294
-rw-r--r-- | plugins/mm-modem-hso.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/mm-modem-hso.c b/plugins/mm-modem-hso.c index e3d4dce7..5d4201c5 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; } - |