summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <jprvita@profusion.mobi>2010-03-18 17:45:31 -0300
committerDenis Kenzior <denkenz@gmail.com>2010-03-18 16:06:07 -0500
commitc0c682d5c04f1e1b75c624e26c44c9f11e07b44b (patch)
treed954bd46c50e6a00370834808af4fff00c0ac306
parent12d97c18a0517013562b7286b7fefa5eabc32ec8 (diff)
downloadofono-c0c682d5c04f1e1b75c624e26c44c9f11e07b44b.tar.bz2
huawei: use GSM permissive parser instead of V1.
With V1 parser the driver fails to detect when a SMS is successfully sent and keeps re-trying until Max retries.
-rw-r--r--plugins/huawei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/huawei.c b/plugins/huawei.c
index 14924462..41ad6361 100644
--- a/plugins/huawei.c
+++ b/plugins/huawei.c
@@ -107,7 +107,7 @@ static int huawei_enable(struct ofono_modem *modem)
if (!channel)
return -EIO;
- syntax = g_at_syntax_new_gsmv1();
+ syntax = g_at_syntax_new_gsm_permissive();
data->chat = g_at_chat_new(channel, syntax);
g_at_syntax_unref(syntax);
g_io_channel_unref(channel);