diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-12-09 16:44:19 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:33 +0100 |
commit | 68b0ac6e197649900e05ee53467699de12ba4809 (patch) | |
tree | 9cb5c811a39352b62dae5eaf41abc82845fa3a96 | |
parent | c15181ae37a7ef9a4ae6e95c3bc3372b1a9d740b (diff) |
broadband-modem: by default only send init command once
Will handle sending it twice only for Nokia phones.
-rw-r--r-- | src/mm-broadband-modem.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c index bc638268..72b085e4 100644 --- a/src/mm-broadband-modem.c +++ b/src/mm-broadband-modem.c @@ -1051,14 +1051,7 @@ modem_init_finish (MMIfaceModem *self, } static const MMBaseModemAtCommand modem_init_sequence[] = { - /* Send the init command twice; some devices (Nokia N900) appear to take a - * few commands before responding correctly. Instead of penalizing them for - * being stupid the first time by failing to enable the device, just - * try again. - - * TODO: only send init command 2nd time if 1st time failed? - */ - { "Z E0 V1", 3, FALSE, NULL }, + /* Init command */ { "Z E0 V1", 3, FALSE, mm_base_modem_response_processor_no_result_continue }, /* Ensure echo is off after the init command; some modems ignore the |