From 4cd3bf5733421add9787a882e3bdf31d40d88c89 Mon Sep 17 00:00:00 2001 From: Mikel Astiz Date: Wed, 12 Oct 2011 14:35:40 +0200 Subject: [PATCH] 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. --- plugins/hfp_hf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);