mirror of git://git.sysmocom.de/ofono
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:
parent
03866e30e2
commit
4cd3bf5733
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue