From 81d382aea2fbea7da42bc1a3df2fcdf33a434fc9 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 15 Jul 2009 15:44:48 -0500 Subject: Add extra_pdu_crlf quirk to ti_calypso driver --- drivers/atmodem/atmodem.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/atmodem/atmodem.c b/drivers/atmodem/atmodem.c index 662bfdee..39b90f75 100644 --- 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, -- cgit v1.2.3