* [PATCH] Fixed modem options to work with capitalized variable names in modem.conf
@ 2009-11-11 22:44 Ryan M. Raasch
2009-11-11 22:51 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Ryan M. Raasch @ 2009-11-11 22:44 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]
Hello,
This patch fixes the calypso driver when setting the modemconf variables.
Regards,
Ryan
---
plugins/calypso.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/plugins/calypso.c b/plugins/calypso.c
index eba55dd..ddbec73 100644
--- a/plugins/calypso.c
+++ b/plugins/calypso.c
@@ -272,13 +272,13 @@ static void modem_initialize(struct ofono_modem *modem)
if (options == NULL)
goto error;
- g_hash_table_insert(options, "baud", "115200");
- g_hash_table_insert(options, "parity", "none");
- g_hash_table_insert(options, "stopbits", "1");
- g_hash_table_insert(options, "databits", "8");
- g_hash_table_insert(options, "xonxoff", "on");
- g_hash_table_insert(options, "local", "on");
- g_hash_table_insert(options, "rtscts", "on");
+ g_hash_table_insert(options, "Baud", "115200");
+ g_hash_table_insert(options, "Parity", "none");
+ g_hash_table_insert(options, "StopBits", "1");
+ g_hash_table_insert(options, "DataBits", "8");
+ g_hash_table_insert(options, "XonXoff", "on");
+ g_hash_table_insert(options, "Local", "on");
+ g_hash_table_insert(options, "RtsCts", "on");
io = g_at_tty_open(device, options);
g_hash_table_destroy(options);
--
1.6.4.GIT
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-11 22:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-11 22:44 [PATCH] Fixed modem options to work with capitalized variable names in modem.conf Ryan M. Raasch
2009-11-11 22:51 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.