diff options
author | Ryan Raasch <ryan.raasch@gmail.com> | 2009-10-27 13:54:31 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-10-29 17:07:11 +0900 |
commit | 3f0f5eeaf0ff408b73fe051650dc822708064364 (patch) | |
tree | 5eb1992a3e8fd05d6223f1d8ee6807d088dfcb82 /gatchat | |
parent | 3ff4b7697b40c744fd540350fc53a448eb813c27 (diff) | |
download | connman-3f0f5eeaf0ff408b73fe051650dc822708064364.tar.gz connman-3f0f5eeaf0ff408b73fe051650dc822708064364.tar.bz2 connman-3f0f5eeaf0ff408b73fe051650dc822708064364.zip |
Capitalize g_at_tty option names
Diffstat (limited to 'gatchat')
-rw-r--r-- | gatchat/gattty.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gatchat/gattty.c b/gatchat/gattty.c index f18eca4e..64dd8abb 100644 --- a/gatchat/gattty.c +++ b/gatchat/gattty.c @@ -208,21 +208,21 @@ static int open_device(const char *tty, GHashTable *options) (void *) &value)) { gboolean ok = FALSE; - if (g_str_equal(key, "baud")) + if (g_str_equal(key, "Baud")) ok = set_baud(value, &ti); - else if (g_str_equal(key, "stopbits")) + else if (g_str_equal(key, "StopBits")) ok = set_stop_bits(value, &ti); - else if (g_str_equal(key, "databits")) + else if (g_str_equal(key, "DataBits")) ok = set_data_bits(value, &ti); - else if (g_str_equal(key, "parity")) + else if (g_str_equal(key, "Parity")) ok = set_parity(value, &ti); - else if (g_str_equal(key, "xonxoff")) + else if (g_str_equal(key, "XonXoff")) ok = set_xonxoff(value, &ti); - else if (g_str_equal(key, "rtscts")) + else if (g_str_equal(key, "Rtscts")) ok = set_rtscts(value, &ti); - else if (g_str_equal(key, "local")) + else if (g_str_equal(key, "Local")) ok = set_local(value, &ti); - else if (g_str_equal(key, "read")) + else if (g_str_equal(key, "Read")) ok = set_read(value, &ti); if (ok == FALSE) |