diff options
author | Denis Kenzior <denis.kenzior@intel.com> | 2009-12-01 12:38:14 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-12-01 12:45:44 -0600 |
commit | a5149839818851d70bdf888c8cd0a37ce255ba41 (patch) | |
tree | 66bcdfa58783283b8b561127540472424ddb2204 /plugins/calypso.c | |
parent | 5323e37bc80ba1b7c7b862d829f8e6ddda6c582a (diff) | |
download | ofono-a5149839818851d70bdf888c8cd0a37ce255ba41.tar.bz2 |
Fix: Force calypso to return to command mode ASAP
Calypso firmware is just bizarre. It seems that if anything is sent
before CPI=3 to the DLC handling voice commands, the ATD will not return
to command mode immediately, but instead wait until connected / failed
condition occurs.
If CPI=3 is sent first, then calypso will go to command mode immediately
after ATD is issued and report CPI indications as usual.
Diffstat (limited to 'plugins/calypso.c')
-rw-r--r-- | plugins/calypso.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/calypso.c b/plugins/calypso.c index 778e6b82..c5403de2 100644 --- a/plugins/calypso.c +++ b/plugins/calypso.c @@ -184,7 +184,7 @@ static void setup_modem(struct ofono_modem *modem) NULL, NULL, NULL); /* audio side tone: set to minimum */ - g_at_chat_send(data->dlcs[VOICE_DLC], "AT@ST=\"-26\"", NULL, + g_at_chat_send(data->dlcs[SETUP_DLC], "AT@ST=\"-26\"", NULL, NULL, NULL, NULL); /* Disable deep sleep */ @@ -452,7 +452,7 @@ static void calypso_post_sim(struct ofono_modem *modem) data->dlcs[NETREG_DLC]); ofono_call_meter_create(modem, 0, "atmodem", data->dlcs[AUX_DLC]); ofono_call_barring_create(modem, 0, "atmodem", data->dlcs[AUX_DLC]); - ofono_ssn_create(modem, 0, "atmodem", data->dlcs[VOICE_DLC]); + ofono_ssn_create(modem, 0, "atmodem", data->dlcs[AUX_DLC]); ofono_call_volume_create(modem, 0, "atmodem", data->dlcs[AUX_DLC]); mw = ofono_message_waiting_create(modem); |