diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-10-19 18:50:06 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-10-19 18:50:52 +0200 |
commit | 96c04a744b248347ff4bbbfa4a52bf88ea14545c (patch) | |
tree | f70791880c5b274d39ddf73352ef57d3445b4607 | |
parent | 0caafef6c94bf5eef34eb47bf5372e3cecb6e168 (diff) | |
download | ofono-96c04a744b248347ff4bbbfa4a52bf88ea14545c.tar.bz2 |
phonesim: Fix multiplexer setup handling and modem power
-rw-r--r-- | plugins/phonesim.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/phonesim.c b/plugins/phonesim.c index 6c3c1e8d..2c028c0f 100644 --- a/plugins/phonesim.c +++ b/plugins/phonesim.c @@ -248,9 +248,14 @@ static int phonesim_enable(struct ofono_modem *modem) } if (data->use_mux) { + g_at_chat_send(data->chat, "ATE0", NULL, NULL, NULL, NULL); + g_at_mux_setup_gsm0710(data->chat, mux_setup, modem, NULL); + g_at_chat_unref(data->chat); data->chat = NULL; + + return -EINPROGRESS; } g_at_chat_send(data->chat, "AT+CSCS=\"GSM\"", none_prefix, |