projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86864c8
)
Add extra_pdu_crlf quirk to ti_calypso driver
author
Denis Kenzior
<denkenz@gmail.com>
Wed, 15 Jul 2009 20:44:48 +0000
(15:44 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 15 Jul 2009 20:51:36 +0000
(15:51 -0500)
drivers/atmodem/atmodem.c
patch
|
blob
|
history
diff --git
a/drivers/atmodem/atmodem.c
b/drivers/atmodem/atmodem.c
index
662bfde
..
39b90f7
100644
(file)
--- a/
drivers/atmodem/atmodem.c
+++ b/
drivers/atmodem/atmodem.c
@@
-288,6
+288,11
@@
error:
static void send_init_commands(const char *vendor, GAtChat *parser)
{
if (!strcmp(vendor, "ti_calypso")) {
+ int flags = g_at_chat_get_flags(parser);
+
+ flags |= G_AT_CHAT_FLAG_EXTRA_PDU_CRLF;
+ g_at_chat_set_flags(parser, flags);
+
g_at_chat_set_wakeup_command(parser, "\r", 1000, 5000);
g_at_chat_send(parser, "AT%CUNS=0", NULL,