summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2011-10-12 14:35:40 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-10-13 13:52:18 -0500
commit4cd3bf5733421add9787a882e3bdf31d40d88c89 (patch)
tree9978bf826d8435f144d83e03a85a608efad9fc56 /plugins
parent03866e30e2a7f68a4a60e33ee2630cdd478433e8 (diff)
downloadofono-4cd3bf5733421add9787a882e3bdf31d40d88c89.tar.bz2
hfp_hf: Switch to permissive AT syntax parser
Some phones can have trouble when using the strict AT syntax parser for HFP. So far, this has only been evidenced with the Samsung Wave, which works fine with the permissive syntax parser. Several other phones have been tested with the permissive parser and seem to work OK.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/hfp_hf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/hfp_hf.c b/plugins/hfp_hf.c
index bbe4b02e..ba064343 100644
--- a/plugins/hfp_hf.c
+++ b/plugins/hfp_hf.c
@@ -136,7 +136,7 @@ static int service_level_connection(struct ofono_modem *modem, int fd)
return -EIO;
}
- syntax = g_at_syntax_new_gsmv1();
+ syntax = g_at_syntax_new_gsm_permissive();
chat = g_at_chat_new(io, syntax);
g_at_syntax_unref(syntax);
g_io_channel_unref(io);