summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan M. Raasch <ryan.raasch@gmail.com>2009-11-11 23:44:57 +0100
committerDenis Kenzior <denkenz@gmail.com>2009-11-11 16:49:25 -0600
commitd10f7c2b04601f795cb1b50bc5df08acf5a7403a (patch)
tree3c53a6a9c744b4e2c83ae2a991b5cf79c8e3bc6d
parentc7fd6d13b6e77e1b3cf57e2571a922d5cf8a9c9d (diff)
downloadofono-d10f7c2b04601f795cb1b50bc5df08acf5a7403a.tar.bz2
Fix: Capitalize modem options in calypso driver
This patch fixes the calypso driver when setting the g_at_tty variables.
-rw-r--r--plugins/calypso.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/calypso.c b/plugins/calypso.c
index eba55dd5..ddbec738 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);