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.
This commit is contained in:
Mikel Astiz 2011-10-12 14:35:40 +02:00 committed by Denis Kenzior
parent 03866e30e2
commit 4cd3bf5733
1 changed files with 1 additions and 1 deletions

View File

@ -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);