summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2013-05-03 15:34:32 -0500
committerDan Williams <dcbw@redhat.com>2013-05-06 10:18:02 -0500
commit881da689dacf474ffb8edba8143f995a9a33ad33 (patch)
treec28f31e883b7ab43d69ce63a2a108a98274b854c
parent2eee2e48ba65a24b17a0b91a619027a0c6f3185a (diff)
broadband-modem-nokia: N900 doesn't disable echo unless explicitly done
During init, the N900 appears to ignore an E0 in the same command as an E1. So just add another init command to disable echo, which won't have any effect on devices that work with the first command.
-rw-r--r--plugins/nokia/mm-broadband-modem-nokia.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/nokia/mm-broadband-modem-nokia.c b/plugins/nokia/mm-broadband-modem-nokia.c
index 6172c7e2..80316c8d 100644
--- a/plugins/nokia/mm-broadband-modem-nokia.c
+++ b/plugins/nokia/mm-broadband-modem-nokia.c
@@ -203,6 +203,8 @@ static const gchar *primary_init_sequence[] = {
/* When initializing a Nokia port, first enable the echo,
* and then disable it, so that we get it properly disabled. */
"E1 E0",
+ /* The N900 ignores the E0 when it's on the same line as the E1, so try again */
+ "E0",
/* Get word responses */
"V1",
/* Extended numeric codes */